Resedit (Was: Proposal for KControl)j
Rik Hemsley
rik at kde.org
Thu Jul 4 14:24:09 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
#if Alexander Kellett
> On Wed, Jul 03, 2002 at 11:43:31PM -0700, Waldo Bastian wrote:
> > On Wednesday 03 July 2002 10:30 am, Alexander Kellett wrote:
> > > how about making a binary db of the config files cached on the
> > > basis of a dir watcher (imon hopefully) of all the config files?
> >
> > Just because you use "binary db" in a sentence doesn't mean it will
> > be faster.
>
> no, the faster bit was the fact that it would be done by a
> dir watch and thus not at every process startup.
How is this 'binary' db to be accessed ? If it's by reading a file,
then you have to wait for I/O, which is about a billion times slower
than parsing some text. Or you could get it from a central server via
a pipe or something. Context switches appear. Oh, and how slow is text
config file parsing ? Did you measure it against 'binary' data ?
Not trying to put a dampener on the idea, just going by instinct as
to where the bottlenecks really are. Feel free to measure :)
Rik
- --
http://rikkus.info
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9JEx56rehpl6X9l0RAt3WAJ95cidyoOviPoeV8ox10XEyEVqEWQCcCJ2s
9XQ0rpLolrPjGo0IDVlXOtk=
=UzS0
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list