-
Type:
Improvement
-
Resolution: Done
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
Dotnet Drivers
-
None
-
None
-
None
-
None
-
None
-
None
In a few places we generate, compile and invoke a lambda to obtain a constant value but do so just as a one-shot.
This is inefficient and we can consider using "preferInterpreted:true" on the .Compile method of these lambda expressions in order to use a fast interpreter instead of JIT'ing and executing.
As well as potentially solving CSHARP-6087 this should help with performance and long-running memory usage scenarios:
https://github.com/dotnet/efcore/pull/29815 is where they did this to the EF provider.
- is related to
-
CSHARP-6087 App crashes after 2-4 days due to an access violation within the Mongo Driver (version 3.9)
-
- Investigating
-