System.Linq.Dynamic.Core icon indicating copy to clipboard operation
System.Linq.Dynamic.Core copied to clipboard

Lazily load dynamic linq types

Open verdie-g opened this issue 5 months ago • 2 comments

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 avatar Jul 29 '25 16:07 verdie-g

@StefH what do you think of that PR?

verdie-g avatar Aug 24 '25 16:08 verdie-g

I still need to check it in detail...

StefH avatar Aug 26 '25 05:08 StefH