Y
Hacker News
new
|
ask
|
show
|
jobs
by
prolways
3835 days ago
It it ever actually faster than
https://en.wikipedia.org/wiki/Smoothsort
?
2 comments
aidenn0
3834 days ago
Forget smoothsort, it loses out to insertion sort even. Divide-and-conquer n*lg n algorithms tend to switch to insertion sort when the size of the partition goes below a certain value because of how fast insertion sort is.
link
cprayingmantis
3835 days ago
I'd say bubble sort is just easier to implement and more widely known.
link