4 ms·
> One is "do you know what's going on under the hood?" Why should I need to? Let's take Microsoft's .Net sort implemtation. It will intelligently determine w
by EMM_386 3y ago
> One is "do you know what's going on under the hood?"
Why should I need to? Let's take Microsoft's .Net sort implemtation.
It will intelligently determine which is the optimized sort given the conditions it's facing.
Heapsort? Mergesort? Quicksort? Radix Sort.
And the most-possibility optimized versions of each.
This is what data scientists do. We don't need programmers standing at whiteboards writting BubbleShort and being told it's wrong. In the real world, you call .Sort() and get on with real work.
Sure, you can hand-roll your own sort for hot-path cases but that's likely been taken into account anyway!
- nottorp 3y agoUh oh. You realize you just stated you actually know sorting algorithms and even know enough to be able to decide to roll your own if needed?