On Efficiency and Optimization of C++ Programs |
| |
Authors: | PEI-CHI WU FENG-JIAN WANG |
| |
Abstract: | 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. |
| |
Keywords: | object-oriented programming code optimization C++ efficiency C++ compiler optimizations |
|