3 ms·
That generally applies to anywhere you're coding in something raw like C or assembly on very small datasets and don't want to deal with the mental overhead of p
by lukeschlather 16y ago
That generally applies to anywhere you're coding in something raw like C or assembly on very small datasets and don't want to deal with the mental overhead of picking and writing an efficient sorting algorithm. For sets of less than 100 items, it's not worth the bother.
I actually did that in a programming contest once, having solved the hard part of the problem and being left with nothing but sorting the results.