Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Speeding up stalled script

by xiaoyafeng (Deacon)
on Feb 04, 2015 at 08:44 UTC ( [id://1115493]=note: print w/replies, xml ) Need Help??


in reply to Speeding up stalled script

considering your background, I think the best & quickest way to speed up your script is using MCE and replacing while with MCE::Loop:
use MCE::Loop; mce_loop_f { chomp; do_work($_) } "/path/to/file";




I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-18 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found