Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: perl process slower and slower when loop number increase

by Dallaylaen (Chaplain)
on Jan 22, 2018 at 15:59 UTC ( [id://1207677]=note: print w/replies, xml ) Need Help??


in reply to Re^2: perl process slower and slower when loop number increase
in thread perl process slower and slower when loop number increase

for ($i=0; $i<1; $i++); is a better null statement because the parsing time would be exactly the same. And running 1 iteration of a loop (or 100 for that matter) is negligible.
  • Comment on Re^3: perl process slower and slower when loop number increase

Log In?
Username:
Password:

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

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

    No recent polls found