Skip to content

core: speed up large paste parsing - #1302

Open
simonklee wants to merge 2 commits into
mainfrom
ot-paste-perf2
Open

core: speed up large paste parsing#1302
simonklee wants to merge 2 commits into
mainfrom
ot-paste-perf2

Conversation

@simonklee

Copy link
Copy Markdown
Member

Bracketed paste spent excess time in a naive byte scan and in
Uint8Array.from copies. Use Buffer.indexOf and a direct set-based
copy, and add a phase benchmark to track parser and editor cost.

@simonklee
simonklee requested a review from kommander as a code owner July 29, 2026 21:20
@simonklee simonklee self-assigned this Jul 29, 2026
@simonklee
simonklee requested review from Hona and msmps as code owners July 29, 2026 21:20
Bracketed paste spent excess time in a naive byte scan and in
Uint8Array.from copies. Use Buffer.indexOf and a direct set-based
copy, and add a phase benchmark to track parser and editor cost.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant