Hacker News new | ask | show | jobs
by darethas 3145 days ago
Last time I looked at the source for Java's dual pivot quicksort implementation, it used exactly this for 7 elements or fewer
1 comments

Yes, and qsort does similar (different algorithms for different array sizes but the same function interface).