Arrays.sort() inconsistent in which variant of DualPivotQuicksort.sort() is invoked

Buis, Paul 00pebuis at bsu.edu
Mon Jan 26 20:40:22 UTC 2015


Arrays.sort(byte[]) and Array.sort(byte[], int, int) both invoke the 3 argument version of DualPivotQuickSort.sort() when  Arrays.sort() for all other primitive types invokes the 6 argument version.  This appears to be because there is no 6 argument version of DualPivotQuickSort.sort(byte[], ...). Is there a particular reason for this?



More information about the core-libs-dev mailing list