CONSTRUCTOR ARGUMENT OPTIMIZATION IN OBJECT MODEL FOR FOLDING MULTIPLE CASTS EXPRESSIONS
Patent №
US 8,095,922
Granted
2012-01-10
Filed 2007
Owner
INTERNATIONAL BUSINESS MACHINES CORPORATION
Lab
AI components
1
hardware
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
11847164
A method and computer program product for providing an optimization for a most derived object during compile time are provided. The optimization determines whether a most derived class object is present during a compile time. Also, the optimization utilizes the most derived class object to obtain a location of a virtual base for the most derived class object during the compile time, and provides the virtual base of the most derived class object during the compile time. The method is executed for a constructor and/or a destructor. The constructor or destructor contains arguments which require conversion to a base type, and the conversion is performed at compile-time instead of at runtime.
AI classification
Ownership
INTERNATIONAL BUSINESS MACHINES CORPORATION
assignment · 197630513
Assignors
WONG, MICHAEL
On an employer assignment, the assignors are typically the inventors.