Q: How to sort lots of data. A: Using mergesort.
Ooh! Why didn't I think of that. Erm . Let me re-phrase: What makes you think I haven't already considered that?
That is the traditional way isn't it. (Surprised its taken you 3 days to look that up.) So what's wrong with the traditional way?
To find out, generate yourself a 100GB file of random 64-bit ints (about 15 minutes work with a one-liner) and then use your local system sort utility to sort it. Then come back to me when its finished, and we'll discuss it further.
See you in 3 or 4 days!
In reply to Re^2: [OT] A measure of 'sortedness'?
by BrowserUk
in thread [OT] A measure of 'sortedness'?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |