editor_state_to_layout_scene is a pure function of the document, the authored-geometry latch, the active page index, and the resolved variable table (active theme + ref caches) — it drops selection / hover / chat / viewport. But the hosts mark the scene dirty on nearly every interaction, and the worst case — streamed chat / codegen deltas — re-ran a full taffy solve + whole-tree SceneNode re-allocation once per animation frame for content that never touches the canvas. New op-pen-loader SceneBuildCache content-compares those inputs and skips the rebuild when they match (no hand-maintained revision counter, so no mutation can leave a stale scene). Wired into both hosts' refresh_layout_scene. |
||
|---|---|---|
| .. | ||
| assets | ||
| examples | ||
| notes | ||
| src | ||
| tests | ||
| Cargo.toml | ||