News for hackers. Stuff that matters.
Re:Sorting Algorithm Cheat Sheet by bjoli on Saturday April 27, 2019 @04:04AM (#19764446)
For a problem i faced I ended up being able to produce very small chunks of already sorted data and using the merge part of the stable sort algorithm (it was provided).

Not only that, I ended up being able to do it lazily making the user experience much better.

Re:Sorting Algorithm Cheat Sheet by btilly on Saturday April 27, 2019 @03:19PM (#19767143)
And I have been forced to write sorting algorithms from scratch as well. But it was truly a last resort. In my case I had to work with data that literally did not fit in uncompressed form on the computer that I had to work with. So I had to write a disk sort where data as kept in compressed form. (I used merge sort for this.)

However the fact that sometimes we are forced to our last resort doesn't change the fact that we should be aware that it really is a last resort.