|proportion of indirect function calls in C/C++ firstname.lastname@example.org.OZ.AU (1996-06-21)|
|From:||email@example.com.OZ.AU (Fergus Henderson)|
|Date:||21 Jun 1996 17:22:39 -0400|
|Organization:||Comp Sci, University of Melbourne|
|Keywords:||C, C++, performance, question|
Does anyone have any statistics on the proportion of function calls via
function pointers, the proportion via virtual functions, the proportion
inlined, and the proportion that use ordinary direct function calls in
typical C or C++ programs?
Basically I'm trying to estimate the performance impact on C++ code of
a change that would slow down calls via function pointers (but not
direct calls or virtual calls) by about the cost of a direct call.
Fergus Henderson <firstname.lastname@example.org>
PGP: finger email@example.com
Return to the
Search the comp.compilers archives again.