Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Poor performances with threads

by markuhs (Scribe)
on Oct 23, 2009 at 11:27 UTC ( #802879=note: print w/ replies, xml ) Need Help??


in reply to Poor performances with threads

I would instantiate the worker threads before reading the data. This would also give them the job to read the data, but can speed it up since creation is faster...

Consider: http://perldoc.perl.org/perlthrtut.html#Performance-considerations

Lukas


Comment on Re: Poor performances with threads

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2014-10-21 01:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (95 votes), past polls