Hacker News new | ask | show | jobs
by pjscott 2616 days ago
On completely random data, Timsort is just a mergesort with some extra bookkeeping. Its advantage is on arrays that have sorted subarrays of non-trivial size, which is often the case with real data.