Improved insertion sort performance.