![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^4: Threaded Code Not Faster Than Non-Threaded -- Why? (meat)by Tommy (Chaplain) |
on Jan 05, 2014 at 17:56 UTC ( #1069397=note: print w/replies, xml ) | Need Help?? |
Thanks for the example! I'll check it out. I'm sorry I provided the wrong link. The code I wrote comes from this code taken directly from the examples directory of the threads CPAN distro by JDHEDDEN. It's called pool_reuse.pl The block by block comparison of files which you proposed is actually part of my next approach. I may be able to forgo the need to digest the file content altogether and get a real speed boost by only reading as many bytes from a file as I need to in order to tell that it's different. Much less IO required.
Tommy A mistake can be valuable or costly, depending on how faithfully you pursue correction
In Section
Seekers of Perl Wisdom
|
|