KConfig sync speedup patch rev 1

Waldo Bastian bastian at kde.org
Thu Sep 11 20:11:44 BST 2003


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

On Thursday 11 September 2003 18:34, Benjamin Meyer wrote:
> 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.

The deleteEntry call will store an entry that is marked as deleted.

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/YMjwN4pvrENfboIRAsEvAJkBAw7x1CZSTMgmJpNtOVPkGMCWMACfZ/hs
YvLiCV1Zvo0KJeV3wIHMTrk=
=upyf
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list