On Efficiency and Optimization of C++ Programs

Pei‐Chi Wu, FENG‐JIAN WANG · Software Practice and Experience · 1996

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.

Read the paper · More papers on PaperTik