mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-21 18:23:48 +01:00
The timeline kept up to 1500 decoded thumbnails regardless of their size, and marking one as used scanned the whole eviction order on every tile bind. Replace it with an LRU cache keyed on decoded pixel bytes (512 MiB, about 900 ordinary 512 px thumbnails) whose touch is logarithmic.