Hacker News new | ask | show | jobs
by SkiFire13 19 days ago
> Even though merge sort is algorithmically faster.

Merge sort is algorithmically faster only when either quicksort is implemented naively (in the O(n²) way, which I would obviously ignore) or when data is already almost sorted (when using something more similar to timsort). In the latter case it will be faster even when the data size becomes pretty big, because merge sort will actually reduce memory movements in those cases.