Compound conditional reordering for faster short-circuiting
AssigneeMicrosoft Technology Licensing, LLC
InventorsAmit Jayant SABNE, Eric Avi BRUMER
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Technology Licensing, LLC
InventorsAmit Jayant SABNE, Eric Avi BRUMER
Estimating the term…
A computing device is provided, including a processor configured to receive source code at a compiler. The source code may include at least one compound conditional having a plurality of conditions. For each condition of the plurality of conditions, the source code may further include a respective code block including instructions to evaluate the condition. For each ordering of a plurality of orderings of the plurality of conditions, the processor may determine that the ordering satisfies one or more legality constraints. For each ordering of the plurality of orderings that satisfy the one or more legality constraints, the processor may determine a respective estimated computational cost for that ordering. The processor may reorder the plurality of conditions to have an ordering that has a lowest estimated computational cost of the plurality of orderings that satisfy the one or more legality constraints.
A computing device comprising a processor configured to:
A method performed by a processor of a computing device, the method comprising:
A computing device comprising a processor configured to:
Dependencies are inferred from the claim text.