in reply to Re: tips on how to speed up a very slow perl script requested
in thread tips on how to speed up a very slow perl script requested

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.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re^2: tips on how to speed up a very slow perl script requested