(1) how to hide helper classes (2) KDE_NO_INLINE missing?

Brad Hards bhards at bigpond.net.au
Sat Mar 13 23:54:31 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 13 Mar 2004 23:56 pm, Simon Hausmann wrote:
> Measured with kdecore and kdeui I see a speedup between 25 and 30 percent.
>
> It seems to depend on the choice of headers to include and somehow on the
> code, as with Qt the speedup seems to be higher. For development it only
> pays off when primarily working on the .cpp files, otherwise you end up
> with more recompilations due to more dependencies.
I haven't tried it yet, but anecdotal advice from Andrew Tridgell indicates 
that Samba builds get a huge improvement. That is almost certainly helped by 
the particular Samba header file system, where they only ever include one 
header in each file (and it is always the same one - it includes everything 
else that is required), so they get a lot of assistance from pre-compiled 
headers.

Maybe we can get better performance by making a standard <kde-includes.h> that 
includes the 20 most common KDE headers and the 10 most common Qt headers. 
Then work through the KDE files and rip out the duplicates. Worth a try for 
someone with a lot of high performance hardware and a bit of spare time.

Brad
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAU58/GwwszQ/PZzgRAte5AJ47QjJh8bnA9dLMbgKFceZjgBuGMwCdE9HA
1L4ajPeiQEQ8LTwRF6WMGls=
=Bek9
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list