Hacker News new | ask | show | jobs
by chipsa 360 days ago
Quick sort usually uses something like insertion sort when the number of items is low, because the constants are better at low n, even if O(n) isn’t as good.