Severity: High.
MobileEditor.load restyles the whole text before returning (Sources/OrgstarMobile/MobileEditor+Styling.swift:12-18), restyleAll repeats it on toggles (:99-105), and files under 60,000 UTF-16 units are restyled whole per edit (:166). The same styling takes 1.17 s per MB on an M2 Pro and is quadratic, so a 10 MB file can be expected to hit the watchdog. Not measured on a device. Port the Mac editor's watermark and chunked styling, ideally by moving the run-to-attribute loop into OrgPresentation.
From the performance review, docs/review-2026-11-21.md (#96).
Platforms: iOS, iPadOS.
closed by cmc in commit 2f17964617: Style the iOS editor in chunks and restyle only what an edit affects
2026-11-22 18:25 UTC