On Tue, Jan 25, 2011 at 21:56, David Chisnall <thera...@sucs.org> wrote:

>
> If it's just updating a cache, then it shouldn't be too bad in terms of
> performance.  It wouldn't need to read Info.plists from any .app that was
> already in the cache (maybe it could store the modification date in the
> cache and just stat the file to find out if it had been modified more
> recently, but you could probably just assume it hasn't, and do a proper
> update the next time the .app is launched, when the .plist is read anyway).
>
> Since you typically only have 3 Applications directories, this would just
> involve the equivalent of three ls *.app commands in the common case, and a
> tiny bit more in cases where you've added one or two new apps recently.


Heh, I didn't think of it that - it could just add and parse newly added
apps, just like the old ones could be removed. This sounds perfect!

-- 
Regards,

Ivan Vučica
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to