DragonFly kernel List (threaded) for 2004-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: learning dragonfly or C...
On Fri, Nov 12, 2004 at 01:28:46AM +0100, Jonas Sundstr?m wrote:
> BTW, do long/short variable names matter at all for performance in C
> and C++? And what about function- and class method names?
For dynamic libraries, yes. The overhead for loading a dynamic object
depends on the length of the loaded symbols, because it has to compare
the string length. Now consider that e.g. C++ mangles namespace(s), class
name(s), function name into one large symbol, it can be as large as 1000
characters and more.
Joerg
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]