From kde-devel Thu Jul 26 22:24:52 2001 From: Waldo Bastian Date: Thu, 26 Jul 2001 22:24:52 +0000 To: kde-devel Subject: Re: Faster startups by fixing C++ object files before linking ( 30-50% faster startups ) X-MARC-Message: https://marc.info/?l=kde-devel&m=99618643109488 On Thursday 26 July 2001 03:01 pm, Leon Bottou wrote: > Reading Waldo Bastian's text on C++ shared libraires gave me some ideas. > Eventually I spent a few nights trying them. > > The proposed scheme modifies the object files before linking > in a way that reduces the number of expensive relocations. > Startup times are reduced by 30 to 50%. Oh, that's very cool and it works remarkable easy as well. I assume that this will cause some overhead at the time a virtual function call is made? It might be interesting to see if the e.g. the rendering speed of libkhtml is negatively affected by this. Cheers, Waldo -- Andrei Sakharov, Exiled 1980-1986, USSR, http://www.aip.org/history/sakharov/ Dmitry Sklyarov, Detained 2001-????, USA, http://www.elcomsoft.com/ >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<