mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 02:07:09 -06:00
Decoded images were kept per Renderer at full resolution and never evicted, so the canvas, render worker, thumbnails and panels each held their own copy (96 MB per 24 MP photo). They now live once in a process-wide LRU store keyed by content, with optional mip levels (RenderOptions::image_mips, off by default so exports stay identical). Thumbnail renders now sweep their caches, and shadow/effect rasters share a 512 MiB budget and match by Arc. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VmMmc1J8XeNLxhRihWv9cc