FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Lazily load dynamic linq types by verdie-g · Pull Request #940 · zzzprojects/System.Linq.Dynamic.Core · GitHub

Lazily load dynamic linq types - #940

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

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

Conversation

Copy link
Copy Markdown

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.

Copy link
Copy Markdown
Author

@StefH what do you think of that PR?

StefH commented Aug 26, 2025

Copy link
Copy Markdown
Collaborator

I still need to check it in detail...

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL