KConfig sync speedup patch rev 1

Benjamin Meyer ben at meyerhome.net
Thu Sep 11 17:34:23 BST 2003


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

On Thursday 11 September 2003 4:36 am, Waldo Bastian wrote:
> On Wednesday 10 September 2003 18:19, Benjamin Meyer wrote:
> > When removing unessary keys (like kautoconfig does) does this reduce the
> > number of actualy entries in the map (thus incresing speed) or are the
> > keys simply marked to not be written, but still parsed?
>
> A combination of both, depending on the circumstances.
>
> Cheers,
> Waldo

How about with:

There are no keys in the file.
Keys with default values are read in. config->readEntry("name", "ben");
keys are deleted config->deleteEntry("name");
sync is called.

- -Benjamin Meyer

- -- 
Public Key: http://www.csh.rit.edu/~benjamin/public_key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/YKQT1rZ3LTw38vIRAsTWAJ93PVOUsD4n1B+p1OYU6KyNHEGBhQCfRmE+
ETv2MBE60nJmN8E1Hm6X7OA=
=3j5O
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list