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.
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.
29
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.
30
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.
41

## 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 26 06/13/2025
5.2.0 19 05/15/2025
5.2.0-preview-02 17 05/01/2025
5.2.0-preview-01 16 04/27/2025
5.1.1 24 04/04/2025
5.1.0 23 04/05/2025
5.0.3 21 04/05/2025
5.0.2 25 01/29/2025
5.0.1 24 12/29/2024
5.0.0 25 12/03/2024
4.2.2 34 11/14/2024
4.2.1 28 11/28/2024
4.2.0 34 05/28/2024
4.1.0 30 05/28/2024
4.0.2 26 05/28/2024
4.0.1 34 05/28/2024
4.0.0 29 05/28/2024
3.4.0-preview-01 30 05/28/2024
3.3.4 28 05/28/2024
3.3.3 39 03/13/2024
3.3.2 27 05/28/2024
3.3.1 33 05/28/2024
3.3.0 34 05/28/2024
3.2.2 34 05/28/2024
3.2.1 26 05/28/2024
3.2.0 27 05/28/2024
3.1.0 31 05/28/2024
3.1.0-preview-03 28 05/28/2024
3.1.0-preview-02 33 05/28/2024
3.1.0-preview-01 35 05/28/2024
3.0.6-preview-01 30 05/22/2024
3.0.5 30 05/28/2024
3.0.4 26 05/28/2024
3.0.3 30 05/28/2024
3.0.2 27 05/28/2024
3.0.1 30 05/22/2024
3.0.0 33 05/28/2024
3.0.0-preview-07 24 05/28/2024
3.0.0-preview-06 29 05/28/2024
3.0.0-preview-05 29 05/28/2024
3.0.0-preview-04 30 05/28/2024
3.0.0-preview-03 27 05/28/2024
3.0.0-preview-02 30 05/28/2024
3.0.0-preview-01 30 05/28/2024
2.0.0 26 05/28/2024
2.0.0-preview-03 35 05/28/2024
2.0.0-preview-02 35 05/28/2024
2.0.0-preview-01 34 05/28/2024
1.10.1 25 05/28/2024
1.10.0 26 05/28/2024
1.9.0 38 05/22/2024
1.8.0 31 05/22/2024
1.7.2 28 05/28/2024
1.7.1 28 05/22/2024
1.7.0 29 05/28/2024
1.6.0 27 05/28/2024
1.5.0 28 12/01/2024
1.4.0 28 05/28/2024
1.3.0 26 05/28/2024
1.2.2 28 05/28/2024
1.2.1 28 05/28/2024
1.2.0 32 05/28/2024
1.1.1 29 05/22/2024
1.1.0 29 05/28/2024
1.0.1 32 05/28/2024
1.0.0 32 05/28/2024
1.0.0-preview-04 26 05/28/2024
1.0.0-preview-03 30 05/28/2024
1.0.0-preview-02 33 05/22/2024
1.0.0-preview-01 30 05/28/2024