any perl performance experts awake?
Andrew Gould
andrewlylegould at gmail.com
Thu Apr 11 13:40:31 PDT 2013
On Thu, Apr 11, 2013 at 3:37 PM, Lonni J Friedman <netllama at gmail.com>wrote:
> I figured this out. It was definitely the hash table lookups that
> were the problem. Or more accurately, the fact that I was passing the
> entire hash table into the subroutine thousands of times, which meant
> it was being copied thousands of times. I switched to using a
> hashref, and that cut the processing time from hours to a few minutes.
>
>
Yeah!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/linux-users/attachments/20130411/ece3fca3/attachment.html
More information about the Linux-users
mailing list