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

301 improve schema type lookup performance #302

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

kjonescertinia
Copy link
Contributor

This improves loading performance on large workspaces by ~1/3rd by avoiding the need to create TypeNames just for searching for a matching Schema type declaration for the name.

It introduces a cache type that maintains a separate dictionary for Schema types so given a TypeName we can just test for a match without creating a new TypeName. The Schema dictionary is constructed as types are added to the cache.

@pwrightcertinia pwrightcertinia merged commit 7068aaa into main Dec 3, 2024
1 check passed
@pwrightcertinia pwrightcertinia deleted the 301-improve-schema-type-lookup-performance branch December 3, 2024 10:43
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.

Improve Schema type lookup performance
2 participants