The efficiency of object-oriented programs has become a point of great interest. One necessary factor for program efficiency is the optimization techniques involved. This paper presents the performance of several variations of a given C++ program and compares them with a version that uses no object-oriented features. Our result indicates that some object-oriented features in C++ are not well optimized in current C++ compilers. We thus discuss some code optimization techniques that can improve the efficiency based on the given C++ program.
|Number of pages||13|
|Journal||Software - Practice and Experience|
|State||Published - 1 Jan 1996|
- C++ compiler optimizations
- C++ efficiency
- Code optimization
- Object-oriented programming