http://www.perlmonks.org?node_id=814389


in reply to Optimizing Iterating over a giant hash

Also check Suffering from Buffering, you might want to set $| to a nonzero, this can alleviate the 'out of memory!', and just like jethro suggested, consider divide and conquer...


Excellence is an Endeavor of Persistence. Chance Favors a Prepared Mind.