mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-24 10:27:44 -06:00
Every frame fingerprinted every item of every page for the page texture cache (thousands of cell borders a page, formatted to strings), and the markup-area check walked every paragraph twice a frame. Page content keys are now taken once per layout and only for pages on screen or cached; the document facts behind the markup area are cached per revision; textures of pages far from the view are dropped. Layout and rendering are unchanged. Co-authored-by: Dmitrii Khlapov <19991457+dkhlapov@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>