Why should Insertion Sort be used after threshold crossover in Merge Sort
问题 I have read everywhere that for divide and conquer sorting algorithms like Merge-Sort and Quicksort , instead of recursing until only a single element is left, it is better to shift to Insertion-Sort when a certain threshold, say 30 elements, is reached. That is fine, but why only Insertion-Sort ? Why not Bubble-Sort or Selection-Sort , both of which has similar O(N^2) performance? Insertion-Sort should come handy only when many elements are pre-sorted (although that advantage should also