dadhi / FastExpressionCompiler

Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expressions.
MIT License
1.16k stars 82 forks source link

Support compilation without closure collection phase for expression with nested lambdas #250

Open dadhi opened 4 years ago

dadhi commented 4 years ago

Related to

Currently, FEC has a TryCompileWithPreCreatedClosure method with limited functionality without nested lambdas support.

We may enable it so that big and deep expressions may skip the closure collection phase improving the performance and saving the memory.

Todo:

dadhi commented 4 years ago

Couple of questions to answer: