Optimized in-place sorting using additional memory
AssigneeSAS Institute Inc.
InventorXuejun Liao
Life of this patent
Estimating the term…
Loading patent…
AssigneeSAS Institute Inc.
InventorXuejun Liao
Estimating the term…
A system and method include receiving a plurality of elements in a data array to be sorted, assigning the elements a sequential index value, computing an amount of additional memory needed to sort the elements, creating a Linked-Array Tournament Tree (LATT), storing the LATT in the allocated amount of additional memory, initializing the LATT, initializing a number of iterations, initializing a next sorted index position in the data array, determining from the LATT, the index value of a champion element from all the winners of the pairwise comparisons, swapping the champion element with an element at the next sorted index position in the data array, updating the LATT responsive to the swapping, updating the next sorted index position, repeating a plurality of times, and outputting the data array having the elements in a sorted order.
A non-transitory computer-readable medium storing computer-readable instructions that, when executed by one or more processors of a computing system comprising a main memory, an internal memory, and a memory controller, cause the computing system to perform operations for reducing auxiliary memory overhead and processor internal memory inefficiency during sorting of large datasets, the operations comprising:
A non-transitory computer-readable medium storing instructions that, when executed by one or more processors of a computing system, cause the computing system to perform operations comprising:
A computing system, comprising:
A system, comprising:
A method for reducing auxiliary memory overhead and processor internal memory inefficiency during sorting of large datasets, the method comprising:
A method, comprising:
Dependencies are inferred from the claim text.