Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: