Skip to content

fix: remove unnecessary calls to resolveAll #2066

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mkruskal-google
Copy link
Contributor

Instead of using resolved type information for feature resolution, we can use a more rudimentary approach. This was only being used to detect legacy groups, which are always in a very predictable location that's easy and efficient to lookup. Instead of forcing full type resolution of the entire graph, this change reduces the calls to only do feature resolution, which is very lightweight in comparison.

Further optimizations could improve caching of feature and type resolution.

Fixes #2063

@mkruskal-google mkruskal-google requested a review from sofisl May 7, 2025 02: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.

Large performance regression in Root.load & loadSync in 7.5.0
1 participant