CPC G06F 9/30036 (2013.01) [G06F 7/08 (2013.01); G06F 9/3836 (2013.01)] | 20 Claims |
1. A system comprising:
a processor; and
a computer storage medium storing instructions that are operative upon execution by the processor to:
sample, by the processor, a data set with a sampling vector set, the sampling vector set comprising at least one vector, each vector comprising a plurality of data elements of the data set;
determine, using a vector instruction executed by the processor, a median value of the data elements in the sampling vector set;
determine, using the processor, that multiple data elements in the sampling vector set have a same value as the median value or are already sorted;
identify that at least a portion of the data set is to be excluded from at least a portion of sorting operations; and
sort, using the processor, the data set using the median value as a pivot value, wherein the sorting excludes, from the at least a portion of sorting operations, the at least a portion of the data set identified as to be excluded.
|