Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 surveying the Monastery: (9)
As of 2015-05-06 08:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (130 votes), past polls