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

perf(spec): increase performance of operation expansion #8937

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

char0n
Copy link
Member

@char0n char0n commented Jun 16, 2023

Refs #8606

@@ -230,7 +232,7 @@ const debResolveSubtrees = debounce(async () => {
}))
}
set(resultMap, path, spec)
set(specWithCurrentSubtrees, path, spec)
specWithCurrentSubtrees = assocPath(path, spec, specWithCurrentSubtrees)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want to change the specWithCurrentSubtrees object reference unless it's absolutely necessary.

@char0n char0n merged commit 667e55e into master Jun 16, 2023
@char0n char0n deleted the char0n/openapi-3-1-lazy-resolutin-perf branch August 17, 2023 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant