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

Re: Switching back and forth between parts of my script

by Laurent_R (Canon)
on Mar 05, 2016 at 08:56 UTC ( [id://1156871]=note: print w/replies, xml ) Need Help??


in reply to Switching back and forth between parts of my script

You don't say enough about your process, I think that you should say especially why ONE runs for a long, long time (a few days, so far). What is it doing that takes so long?

You may benefit from threading if one of the processes is spending significant time waiting from some external events (disk IO, network input, etc.) or if such process is doing really CPU intensive computation such as heavy number crunching (say, things like prime factor decomposition of very large integers). You did not give an indication that this is part of what you are doing, so that there is little evidence at this point that threading will improve your process.

  • Comment on Re: Switching back and forth between parts of my script

Replies are listed 'Best First'.
Re^2: Switching back and forth between parts of my script
by msh210 (Monk) on Mar 14, 2016 at 18:33 UTC

    Good point, thanks.

    $_="msh210";$"=$\;@_=@{[split//,uc]}[2,0];$_="@_$\1";$\=$/;++$_[0]for$...1;print lc substr crypt($_,"@_"),1,6

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-19 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found