mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-29 21:07:24 -06:00
Findings 58 and 65. Every span deep-copied its inherited link and font strings, so one long name or Markdown definition times many spans or references expanded a small file into gigabytes. Fmt now holds both as Arc<str> (spans and Markdown references share one copy), names over 256 bytes and links over 8 KiB are dropped at the importers (RTF, HTML, Markdown, ODT, LaTeX), and the document builder stops giving runs link and font copies past 64 MiB. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>