[PATCH] KConfig: Rewrite globals only if modified
Oswald Buddenhagen
ossi at kde.org
Mon Feb 25 06:27:22 GMT 2008
On Mon, Feb 25, 2008 at 01:04:14AM +0100, Chusslove Illich wrote:
> The attached patch checks if there is any dirty global config entry,
> and issues rewrite only if that is the case. Is it committable?
>
i'd make it symmetric, i.e., introduce writeLocals as well.
the overhead should be minimal (put it in the same loop), so it can be
done irrespective of the gain (which is probably lower than for globals,
but i'm just guessing).
--
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
mailing list