DocumentCode :
1337598
Title :
Improving C++ performance using temporaries
Author :
Dingle, Adair ; Hilderbrandt, T.H.
Author_Institution :
Seattle Univ., WA, USA
Volume :
31
Issue :
3
fYear :
1998
fDate :
3/1/1998 12:00:00 AM
Firstpage :
31
Lastpage :
41
Abstract :
Object oriented programs are simpler to implement and maintain than those using traditional programming methods. At the same time, object oriented programs create and destroy objects, incurring overhead costs. They also cause unmanned temporary objects of the same type to be created in the scope of the calling routine. Both of these factors affect the performance of object oriented programs compared to procedural programs. For these reasons, programmers view object oriented programming as wasteful compared to procedural programming. When runtime efficiency is important, developers have a legitimate reason to reject OOP. The authors propose to improve the efficiency of the underlying implementation by reusing temporaries. They report experimental results showing large speedups using this method
Keywords :
C language; object-oriented languages; object-oriented programming; software performance evaluation; software reusability; C++ performance; calling routine; experimental results; object oriented programs; overhead costs; procedural programming; procedural programs; runtime efficiency; software reuse; temporaries; temporary objects; Costs; Counting circuits; Data structures; Functional programming; Object oriented programming; Programming profession; Runtime;
fLanguage :
English
Journal_Title :
Computer
Publisher :
ieee
ISSN :
0018-9162
Type :
jour
DOI :
10.1109/2.660188
Filename :
660188
Link To Document :
بازگشت