mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-25 10:37:11 -06:00
A review measured the drag at 100 % on a 2800 px canvas taking 87 ms a tick against 24 ms with a bigger budget: the open photo's caches were over the budget (a 5 MP window alone is 230 MB) and a "hard" budget cleared them every frame, so every tick rebuilt them. The whole-frame, zoom window and before caches are what a drag reuses; only idle caches (hover, compare tiles, second window) are trimmed now, the least useful first, and the open photo's are counted and reported. The drag test no longer waits on a tick count. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>