Severity: Medium.
Editor heap after styling is 50.7x the file for the 5,000-row table (limit 45x) and 11.6x for csg.org (limit 10x); the mixed 10 MB document needs 352 MB. The tree alone is 18x the text, and DocumentState keeps the original bytes, the source text and the current text (Sources/OrgDocument/DocumentState.swift:25-27). Implement the compact tree from docs/plans/2026-10-04-performance.md and compare against a hash of the saved text instead of a second copy.
From the performance review, docs/review-2026-11-21.md (#96).
Platforms: macOS, iOS.