Sort function race
AssigneeEntit Software LLC
InventorPramod G. Joisha
Life of this patent
Estimating the term…
Abstract
In one example, a system for a sort function race can include a processor, and a memory resource storing instructions executable by the processor to generate a plurality of variant sort functions that utilize a variant of an input from a parent sort function, that perform the plurality of variant sort functions as a plurality of separate processes, identify a variant sort function from the plurality of variant sort functions that completes a function in a shortest period of time, and receive results from the identified variant sort function.
Claims20
A system, comprising:
- a processor;
- and
- a memory resource storing instructions executable by the processor to:
- generate a plurality of variant sort functions that utilize a variant of an input from a parent sort function;
- perform the plurality of variant sort functions as a plurality of separate processes;
- identify a variant sort function from the plurality of variant sort functions that completes a function in a shortest period of time;
- and
- receive results from the identified variant sort function.
A non-transitory machine-readable storage medium having stored thereon machine-readable instructions to cause a computer processor to:
- determine a quantity of variant sort functions of a parent sort function for a race process;
- identify an input of the parent sort function to alter for each of the quantity of variant sort functions;
- generate the quantity of variant sort functions;
- and
- perform a race of a first sort function of the quantity of variant sort functions as a first process and a second sort function of the quantity of variant sort functions as a second process to determine a winning function from the quantity of variant sort functions.
A method, comprising:
- identifying a variable of a parent sort function;
- generating a plurality of variant sort functions that each include an alteration of the identified variable and unaltered internals of the parent sort function to generate a same result as the parent sort function;
- performing a function race with the plurality of variant sort functions via a plurality of corresponding processes;
- and
- selecting a winning sort function in the function race based on a quantity of time it takes the plurality of variant sort functions to generate the same result.
Dependencies are inferred from the claim text.