good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: Processing large file using threadsby renodino (Curate) |
on May 08, 2007 at 21:02 UTC ( [id://614248]=note: print w/replies, xml ) | Need Help?? |
Just a hunch, but... Is this line doing any DNS-ish stuff ? If so, I'd suspect that's your bottleneck, and you'll need to look into a smarter hostname cache solution. Threads will help, but probably not as much as you'd hope. Perl Contrarian & SQL fanboy
In Section
Seekers of Perl Wisdom
|
|