Partitioning case statements for optimal execution performance

Boots – shoes – and leggings

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

364DIG1, 364280, 3642804, 3642805, G06F 945

Patent

active

053394208

ABSTRACT:
This invention permits an optimizing compiler to select optimal instruction sequences for handling the source level multi-way branch, commonly known as the case or switch statement. A costing heuristic is established, based on machine specific information, which weights the relative performance of instruction sequences used to perform statement selection from several available selection methods. The constants, which form the basis of the selection criteria, are then clustered into sets. This clustering is controlled by the costing heuristic. The resulting sets represent clusters of values for which a particular selection method is most appropriate. The invention is preferably implemented at the intermediate code level, and with appropriate preselection of parameters by the compiler builder, allows the invention to be used on any type of target machine. The use of the invention results in faster compilation and execution.

REFERENCES:
patent: 5093916 (1992-03-01), Karp et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Partitioning case statements for optimal execution performance does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Partitioning case statements for optimal execution performance, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Partitioning case statements for optimal execution performance will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-960009

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.