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.my ($host)=GetHost($url);
In reply to Re^3: Processing large file using threads
by renodino
in thread Processing large file using threads
by mjacobson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |