Re: learning dragonfly or C...

看板DFBSD_kernel作者時間21年前 (2004/11/13 02:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串19/23 (看更多)
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
文章代碼(AID): #11bFgR00 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #11bFgR00 (DFBSD_kernel)