Skip to content

Lazily load dynamic linq types#940

Open
verdie-g wants to merge 2 commits intozzzprojects:masterfrom
verdie-g:issue-939
Open

Lazily load dynamic linq types#940
verdie-g wants to merge 2 commits intozzzprojects:masterfrom
verdie-g:issue-939

Conversation

@verdie-g
Copy link

Partially fixes #939.

I found two code paths that requires iterating on all the types of the world:

  1. KeywordsHelper.TryGetValue
  2. MethodFinder.FindMethod

In both cases, the "custom types" are not used first so there is a chance that they are never used and don't need to be loaded.

@verdie-g
Copy link
Author

@StefH what do you think of that PR?

@StefH
Copy link
Collaborator

StefH commented Aug 26, 2025

I still need to check it in detail...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

CPU Spike at startup

2 participants