swayimg icon indicating copy to clipboard operation
swayimg copied to clipboard

feat: storing thumbnails on disk

Open Rentib opened this issue 4 months ago • 1 comments

I don't know if this is completely outside the scope of the project, but I did a quick and dirty hack that caches thumbnails on disk similarly to how nsxiv does it. I ran some benchmarks and it saves 10 to 20 ms per image. The gallery still takes a very long time to load but the difference is there. If this is something that might get merged, I'd be happy to make a PR.

Rentib avatar Oct 18 '24 13:10 Rentib