Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Performance issue in the loop.

by Your Mother (Archbishop)
on Feb 22, 2022 at 20:41 UTC ( #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? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2022-09-24 19:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (115 votes). Check out past polls.

    Notices?