Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 scrutinizing the Monastery: (3)
As of 2014-12-29 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls