|Pathologically Eclectic Rubbish Lister|
Re^6: Memory Efficient Alternatives to Hash of Arrayby BrowserUk (Pope)
|on Dec 28, 2008 at 01:05 UTC||Need Help??|
I stand corrected.
However, you're still better off using an external sort, as it allows you to gather the multiple values for each key together without loading the entire dataset into memory. Using a fairly simple loop like this:
And a command line like:
Or just sort the file and then feed it to the script as separate steps:
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.