[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KDE in the Kernel
From: Waldo Bastian <bastian () kde ! org>
Date: 2002-04-14 21:11:11
[Download RAW message or body]
On Sunday 14 April 2002 05:19 am, Chris Howells wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sunday 14 April 2002 12:14 pm, Martijn Klingens wrote:
> > Preloading and pre-initializing the lib is something KDE can do too.
> > Actually, I did exactly that on my local machine for KDE 2.2, adding
> > khtml to the libs to be preloaded by kdeinit at the cost of memory and
> > KDE startup time. Because of those two side effects I don't think we
> > should put this into KDE, but if you have enough memory it probably saves
> > you some 20% or so on startup time. It did for me in 2.2, but many
> > different
> > optimizations went into KDE all around the code, so this might no longer
> > have a measurable benefit.
>
> Sounds cool. How did you mangage to pre-load khtml in kdeinit then? ;)
It's simple... search for "libkonq" in kdelibs/kinit/kinit.cpp, copy & paste
those four lines and replace all occurences of "konq" with "khtml"
(Not tested.)
Cheers,
Waldo
--
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic