Skip to content

perf(editor-ext): assign unique ids in a single pass - #2631

Merged
Philipinho merged 1 commit into
mainfrom
fix/unique-id-assignment
Oct 31, 2026
Merged

Philipinho merged 1 commit into
mainfrom
fix/unique-id-assignment

Conversation

@Philipinho

Copy link
Copy Markdown
Member
  • walk the JSON once instead of one transaction step per node
  • each step kept a full copy of the document, so cost grew with the square of the node count
  • add specs for id assignment

- walk the JSON once instead of one transaction step per node
- each step kept a full copy of the document, so cost grew with the square of the node count
- add specs for id assignment
@Philipinho
Philipinho merged commit 4b40b8d into main Oct 31, 2026
6 checks passed
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