On efficiency and optimization of C++ programs

Pei Chi Wu*, Feng-Jian Wang

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

1 Scopus citations

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.

Original languageEnglish
Pages (from-to)453-465
Number of pages13
JournalSoftware - Practice and Experience
Volume26
Issue number4
DOIs
StatePublished - 1 Jan 1996

Keywords

  • C++ compiler optimizations
  • C++ efficiency
  • Code optimization
  • Object-oriented programming

Cite this