3 ms·
Last time I looked at the source for Java's dual pivot quicksort implementation, it used exactly this for 7 elements or fewer
by darethas 9y ago
Last time I looked at the source for Java's dual pivot quicksort implementation, it used exactly this for 7 elements or fewer
- failrate 9y agoYes, and qsort does similar (different algorithms for different array sizes but the same function interface).