[PATCH] Save image thumbnails cache

Robert C. Helling helling at atdotde.de
Mon Nov 9 07:52:12 PST 2015


An embedded and charset-unspecified text was scrubbed...
Name: 0001-Store-Thumbnails-with-image-hashes.txt
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151109/f1f0629f/attachment.txt>
-------------- next part --------------


So far, when selecting a dive, it can take several seconds to display it (about 10 in my test case) if the images have to be loaded from the file system. We only use very small versions of them anyway, so this patch stores the cached thumbnails in the image hash files which drastically improves this time. Of course, this increases the hash file size and makes start-up a but slower, but at least in my case only by a tiny bit.

Best
Robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151109/f1f0629f/attachment.sig>


More information about the subsurface mailing list