A hash with 1.5e6 keys requires around 300 MB if the value is a simple scalar, or roughly double that if the value is an array of 10 elements. Unless you are very low on memory, your initial instinct is probably a good one.
In reply to Re: advice needed for processing largish data in multiple files
by BrowserUk
in thread advice needed for processing largish data in multiple files
by jimbus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |