Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor the internal data structures holding state like expanded nodes, search results, and validation errors #450

Merged
merged 50 commits into from
Jun 14, 2024

Conversation

josdejong
Copy link
Owner

@josdejong josdejong commented Jun 14, 2024

Moves from storing data in a map with keys holding JSONPointers and values holding the state (like the expanded nodes) into a recursive data structure. This requires less logic when operating on the JSON document since the data structures are aligned with that, and it makes improves rendering performance.

@josdejong josdejong merged commit 19e2a58 into v1 Jun 14, 2024
3 checks passed
@josdejong josdejong deleted the feat/document-state-refactor branch June 14, 2024 11:42
@josdejong josdejong mentioned this pull request Jul 30, 2024
Merged
15 tasks
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