|
|
|
|
|
by kragen
5604 days ago
|
|
> The asymptotic optimality of samplesort is in the sense that it takes (1 + o(1)) N log N / log 2 comparisons, i.e., you can't beat it by any constant factor. Why isn't it used everywhere that people currently use Quicksort? I've never actually heard of anyone using Samplesort except in a parallel context. |
|
Last I heard, python's built-in sort was a type of samplesort, though, so it isn't completely unused.