Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 chilling in the Monastery: (12)
As of 2015-07-29 20:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls