Re: [Hampshire] Hidden folder

トップ ページ

このメッセージに返信
著者: Daniel Pope
日付:  
To: hampshire
題目: Re: [Hampshire] Hidden folder
On Fri, Nov 28, 2008 at 09:23:37AM +0000, Brad Rogers wrote:
> No it isn't. Gwenview may well use ~/.thumbnails, but it's not the only
> package that does. Some DEs use ~/.thumbnails to speed things up, but
> without any cache size controls, or way of removing old thumb images
> (other than manually/cron), it is a waste of time, as it just gets
> bigger and bigger. It therefore takes longer to find the right image.


Unless you're using ext2, or ext3 with dir_index turned off, the
filesystem can lookup a thumbnail in logarithmic time. Remember this cache
contains thumbnails of PDFs, SVGs and even just large images that can take
exceptionally long times, and lots of memory, to generate thumbnails for.

> Eventually, it actually slows things down.


It could slow things down in the worst case but on average this is a
big, big win.

Dan