in reply to Re^2: Out of Memory when generating large matrix
in thread Out of Memory when generating large matrix
Delegating it to sort - be it the shell command or the Perl built-in - is a waste of resources, which doesn't scale well.
Except of course once the hash has become too large for memory. Then a disk-based mergesort (well, mergecount maybe) is the only thing that will still scale, provided that you have enough disk space to write the merged results.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Out of Memory when generating large matrix
by LanX (Saint) on Mar 06, 2018 at 10:38 UTC |