[PATCH] KConfig: Rewrite globals only if modified
ossi at kde.org
Tue Feb 26 07:01:10 GMT 2008
On Tue, Feb 26, 2008 at 01:19:36AM +0100, Chusslove Illich wrote:
> > [: David Faure :]
> > [...] I was wondering if it was possible to actively test for what the
> > patch is fixing - I guess that means "testing that the global config isn't
> > rewritten when not necessary, by comparing its timestamp from before and
> > after the write operation" [...]
> How about this?
if you use two separate configs, you can parallelize the tests and thus
cut away one second of delay.
fwiw, on fat16 the resolution would be two seconds, on any modern fs
qdatetime's millisecond field *should* be usable (assuming qt actually
does that ...). you *could* detect it by setting arbitrary stamps and
bisecting. ok, that's sorta overkill ... ;)
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
Confusion, chaos, panic - my work here is done.
More information about the kde-core-devel