FastExpressionCompiler 3.3.4

FastExpressionCompiler is 10-40x times faster than Expression.Compile()

Showing the top 20 packages that depend on FastExpressionCompiler.

Packages Downloads
ExpressionToCodeLib
Generates valid, readable C# from an expression tree, and can annotate that code with runtime values. Useful for e.g. code generation and unit testing assertions.
24
ExpressionToCodeLib
Generates valid, readable C# from an expression tree, and can annotate that code with runtime values. Useful for e.g. code generation and unit testing assertions.
25
ExpressionToCodeLib
Generates valid, readable C# from an expression tree, and can annotate that code with runtime values. Useful for e.g. code generation and unit testing assertions.
26
ExpressionToCodeLib
Generates valid, readable C# from an expression tree, and can annotate that code with runtime values. Useful for e.g. code generation and unit testing assertions.
27
ExpressionToCodeLib
Generates valid, readable C# from an expression tree, and can annotate that code with runtime values. Useful for e.g. code generation and unit testing assertions.
28
ExpressionToCodeLib
Generates valid, readable C# from an expression tree, and can annotate that code with runtime values. Useful for e.g. code generation and unit testing assertions.
37

## v3.3.4 Bug-fix release - fixed: #345 EmitCall is for the varargs method and should not be used for normal convention - fixed: #347 InvalidProgramException on compiling an expression that returns a record which implements IList - fixed: #349 Error when loading struct parameters closed by the nested lambda e.g. predicate in Linq - fixed: #355 Error with converting to/from signed/unsigned integers (Thanks to @TYoungSL for the PR!) - fixed: the C# output for if-else test condition, and inc/dec operations; and for label at the end of the lambda - fixed: ref assignment C# output - perf: Replace ILGenerator.Emit(OpCodes.Call, ..) with EmitMethodCall performance ## v3.3.3 Bug-fix release - fixed: #336 Method TryCompileBoundToFirstClosureParam is returning passed Type array to pool may cause undefined behavior - fixed: #337 Switch LightExpression.Expression.ToString from System.Expression.ToString pseudo-code to ToCSharpString - fixed: #338 InvocationExpression is not properly converted to System Expression via ToExpression for non-lambda expression - fixed: #341 Equality comparison between nullable and null inside Any produces incorrect compiled expression ## v3.3.2 Bug-fix release - fixed: #335 FastExpressionCompiler.LightExpressions - MemberInit has recursive calls ## v3.3.1 Optimization and bug-fix release - fixed: #333 AccessViolationException and other suspicious behaviour on invoking result of CompileFast() - optim: LightExpression.Parameter consumes less memory for the common standard types. ## v3.3.0 Feature and bug-fix release - added: #235 [GodMode] Expression to IL intrinsic - added: #325 Add LightExpression.NewNoByRefArgs overloads for performance - added: #327 Replace direct il.Emit(OpCodes.Call, ...) with EmitMethodCall - added: #329 Optimize special case compilation for New and Call with no arguments - added: #330 Optimize nested lambda ClosureInfo memory footprint - fixed: #324 The LightExpression.New of IEnumerable is recursive - fixed: #328 Fix the performance of TryEmitConvert to String

.NET Framework 4.5

.NET Standard 2.0

.NET Standard 2.1

  • No dependencies.

Version Downloads Last updated
5.3.0 23 06/13/2025
5.2.0 15 05/15/2025
5.2.0-preview-02 13 05/01/2025
5.2.0-preview-01 13 04/27/2025
5.1.1 21 04/04/2025
5.1.0 20 04/05/2025
5.0.3 18 04/05/2025
5.0.2 22 01/29/2025
5.0.1 21 12/29/2024
5.0.0 21 12/03/2024
4.2.2 31 11/14/2024
4.2.1 25 11/28/2024
4.2.0 31 05/28/2024
4.1.0 27 05/28/2024
4.0.2 23 05/28/2024
4.0.1 29 05/28/2024
4.0.0 26 05/28/2024
3.4.0-preview-01 27 05/28/2024
3.3.4 25 05/28/2024
3.3.3 34 03/13/2024
3.3.2 24 05/28/2024
3.3.1 30 05/28/2024
3.3.0 31 05/28/2024
3.2.2 31 05/28/2024
3.2.1 23 05/28/2024
3.2.0 24 05/28/2024
3.1.0 27 05/28/2024
3.1.0-preview-03 25 05/28/2024
3.1.0-preview-02 29 05/28/2024
3.1.0-preview-01 32 05/28/2024
3.0.6-preview-01 27 05/22/2024
3.0.5 26 05/28/2024
3.0.4 22 05/28/2024
3.0.3 26 05/28/2024
3.0.2 24 05/28/2024
3.0.1 27 05/22/2024
3.0.0 30 05/28/2024
3.0.0-preview-07 22 05/28/2024
3.0.0-preview-06 26 05/28/2024
3.0.0-preview-05 27 05/28/2024
3.0.0-preview-04 26 05/28/2024
3.0.0-preview-03 25 05/28/2024
3.0.0-preview-02 27 05/28/2024
3.0.0-preview-01 26 05/28/2024
2.0.0 24 05/28/2024
2.0.0-preview-03 32 05/28/2024
2.0.0-preview-02 32 05/28/2024
2.0.0-preview-01 29 05/28/2024
1.10.1 22 05/28/2024
1.10.0 24 05/28/2024
1.9.0 36 05/22/2024
1.8.0 28 05/22/2024
1.7.2 25 05/28/2024
1.7.1 24 05/22/2024
1.7.0 26 05/28/2024
1.6.0 24 05/28/2024
1.5.0 25 12/01/2024
1.4.0 24 05/28/2024
1.3.0 23 05/28/2024
1.2.2 25 05/28/2024
1.2.1 24 05/28/2024
1.2.0 29 05/28/2024
1.1.1 26 05/22/2024
1.1.0 26 05/28/2024
1.0.1 29 05/28/2024
1.0.0 29 05/28/2024
1.0.0-preview-04 23 05/28/2024
1.0.0-preview-03 27 05/28/2024
1.0.0-preview-02 29 05/22/2024
1.0.0-preview-01 26 05/28/2024