Patent
1997-04-28
2000-03-21
Voeltz, Emanuel Todd
G06F 945
Patent
active
060411805
ABSTRACT:
The present invention provides a system and method to reuse code, and thus save code space within a program. A compiler and a linker work together to decide which object code to reuse, for implementation of template classes, and other repetitive code segments. The compiler notes in the object file which functions are generated from template code, or other repetitive types of code. An intelligent linker then attempts to match code, and in the cases where the code matches, simply eliminates multiple versions of the same code by aliasing the function names. The compiler can reduce the amount of linker searching by storing a cyclic redundancy check (CRC) code with each method. By using the system and method of the present invention, code reuse is made possible without sacrificing program efficiency.
REFERENCES:
patent: 5642514 (1997-06-01), Peckham
patent: 5790867 (1998-08-01), Schmidt et al.
patent: 5812854 (1998-09-01), Steinmetz et al.
Perks Michael Albert
Sehorne Mark Alvin
Chavis John
International Business Machines - Corporation
Todd Voeltz Emanuel
Van Leeuwen Leslie A.
LandOfFree
System and method for optimizing template object files does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with System and method for optimizing template object files, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and System and method for optimizing template object files will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-737184