mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 02:07:09 -06:00
Text geometry, clips, clip paints, effect art, brushes, live effects, pattern tiles and freeform grids were capped by entry count and cleared wholesale on overflow, so a document past the cap (e.g. more than 4,096 type objects) recomputed every entry on every frame. A FrameCache keeps per-entry byte sizes and last-used frames, drops the least recently used entries of earlier frames, and sweeps stale ones. Text geometry keeps its glyph outlines once instead of twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VmMmc1J8XeNLxhRihWv9cc