Related articles |
---|
proportion of indirect function calls in C/C++ fjh@mundook.cs.mu.OZ.AU (1996-06-21) |
From: | fjh@mundook.cs.mu.OZ.AU (Fergus Henderson) |
Newsgroups: | comp.compilers |
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 <fjh@cs.mu.oz.au>
WWW: <http://www.cs.mu.oz.au/~fjh>
PGP: finger fjh@128.250.37.3
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.