On Tue, 2008-09-16 at 13:36 +0100, Rob Taylor wrote:
> Patryk Zawadzki wrote:
> > On Tue, Sep 16, 2008 at 2:30 PM, Rob Taylor <[EMAIL PROTECTED]> wrote:
> >> could also clean out thumbnails that haven't been *accessed* after a
> >> certain time period, which should give better performance.
> > 
> > How do you do that when 99% of desktop PCs use noatime precisely for
> > that - perfomance? ;)
> > 
> 
> Don't use atime? The daemon knows when the thumbnails have been accessed
> because it served them.

You are not required to ask the daemon each time. You can just first
lookup the thumbnail path for an original, and if it's not there you
could ask the thumbnailer to make it for you. And then it'll tell you
when it's finished with that.

That's also the recommended way. Calculating an MD5 is less expensive
than doing a DBus method.

Of course is this a task for a toolkit specific library that does
thumbnailing for your application developers.


-- 


Philip Van Hoof
freelance software developer
Codeminded BVBA - http://codeminded.be

_______________________________________________
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to