Do you know where your variables are? | |
PerlMonks |
Re^3: Iterating through Two Arrays. Is there a better use of memory?by DentArthurDent (Monk) |
on Oct 13, 2011 at 17:29 UTC ( [id://931336]=note: print w/replies, xml ) | Need Help?? |
Back in the day, I made a traveling salesman problem solver which used Perl hashes to reduce the search space. The script started using gigabytes of memory once you got above a few million hash keys. If you're dealing with thousands of items, I wouldn't worry unless you're in a low-memory environment.
My mission: To boldy split infinitives that have never been split before!
In Section
Seekers of Perl Wisdom
|
|