You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug / Perf]: Line-breaking bottleneck on massive unspaced text blocks (CJK / Gutenberg EPUBs) #28
When rendering documents with long paragraphs lacking whitespace (common in East Asian / CJK literature, text conversions, and long strings), RenderHyperBox layout suffers severe slowdowns, causing UI freezes lasting 10–15+ seconds per chapter.
Observed: Section 1 contains long unspaced Chinese paragraphs (up to ~14,000 characters in a single <p>), taking ~13.4 seconds in RenderHyperBox.layout.
Activity
Merge pull request #29: eliminate the O(N^2) line-breaking bottleneck…
vietnguyentuan2019 commentedon Oct 10, 2026
Fixed by #29 (thanks @DrkXo 🙏) and merged to
mainin #27 (merge commitef062d9). It will ship in 1.13.0 — not published to pub.dev yet.