Good general advice, but but profiling the OPs code won't tell you anything that isn't readily apparent from a cursory inspection.
Matching N elements from one file against M elements from a second, by iterating through an array containing the M elements--and respliting each element each time through--it is obvious enough where the problems lie.
In reply to Re^2: tips on how to speed up a very slow perl script requested
by BrowserUk
in thread tips on how to speed up a very slow perl script requested
by Angharad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |