[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: KDE/kdelibs/kdeui/icons
From: Thomas Zander <zander () kde ! org>
Date: 2007-07-20 11:52:28
Message-ID: 200707201352.28961.zander () kde ! org
[Download RAW message or body]
On Friday 20 July 2007 13:04:04 Rivo Laks wrote:
> > Why not use KLockFile everywhere, to keep the code simple and
> > portable?
> >
> > ifdefs have a tendency to break since any change is only tested on
> > half the code paths...
>
> KLockFile should to be slower than just flock() as it does lots of
> stuff which I don't really need. So for performance reasons I decided
> to use just flock() (and no, i haven't actually profiled how much
> slower it is).
Is the speed difference so big that it warrents the extra maintenance
problems ?
Since this is about disk access some extra code doesn't seem a bit deal;
the bottleneck will most likely be the disk anyway.
--
Thomas Zander
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic