Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Performance issue in the loop.

by Your Mother (Archbishop)
on Feb 22, 2022 at 20:41 UTC ( [id://11141566]=note: print w/replies, xml ) Need Help??


in reply to Performance issue in the loop.

I imagine, but have no evidence, this would speed things up a bit.

my $max; for my $i ( 1 .. $n - 1 ) { $max = -~0;

Replies are listed 'Best First'.
Re^2: Performance issue in the loop.
by rsFalse (Chaplain) on Feb 23, 2022 at 07:26 UTC
    Thanks. I tried your suggested code and I didn't observe an increase in performance.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11141566]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-19 12:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found