go ahead... be a heretic | |
PerlMonks |
Brute force (Re: Sorting data that don't fit in memory)by dws (Chancellor) |
on Jan 24, 2001 at 22:41 UTC ( [id://54072]=note: print w/replies, xml ) | Need Help?? |
If you're in a hurry to get something working, and will have time to work on a faster method later, consider a brute force approach: only sort what you can fit in memory, and then merge the resulting sorted files.
"It's not the Zen way, but it gets the job done." -- Garrison Keiler
In Section
Seekers of Perl Wisdom
|
|