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
Alerts rescan unchanged paragraphs during streaming #513
With createMarkdownParser() and { streaming: true }, alert processing scans unchanged paragraphs on every append, even when the document contains no alerts.
For 8,000 paragraphs and 40 one-character appends:
639,920 tag reads on unchanged nodes.
158.4 ms with alerts enabled; 21.9 ms disabled. Medians of five paired runs.
Disabling alerts only isolates the cost. The fix should keep alerts working and skip unchanged nodes.
Reproduction: run bash verify.sh. The regression check, bash verify.sh --check, fails with just two paragraphs and one append.
changed the title [-]Alert processing rescans unchanged nodes during streaming[/-][+]Alerts rescan unchanged paragraphs during streaming[/+]on Oct 25, 2026
Activity
[-]Alert processing rescans unchanged nodes during streaming[/-][+]Alerts rescan unchanged paragraphs during streaming[/+]