FastExpressionCompiler 3.0.0-preview-07

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

Showing the top 20 packages that depend on FastExpressionCompiler.

Packages Downloads
RulesEngine
Rules Engine is a package for abstracting business logic/rules/policies out of the system. This works in a very simple way by giving you an ability to put your rules in a store outside the core logic of the system thus ensuring that any change in rules doesn't affect the core system.
700
RulesEngine
Rules Engine is a package for abstracting business logic/rules/policies out of the system. This works in a very simple way by giving you an ability to put your rules in a store outside the core logic of the system thus ensuring that any change in rules doesn't affect the core system.
45
RulesEngine
Rules Engine is a package for abstracting business logic/rules/policies out of the system. This works in a very simple way by giving you an ability to put your rules in a store outside the core logic of the system thus ensuring that any change in rules doesn't affect the core system.
37
RulesEngine
Rules Engine is a package for abstracting business logic/rules/policies out of the system. This works in a very simple way by giving you an ability to put your rules in a store outside the core logic of the system thus ensuring that any change in rules doesn't affect the core system.
30
RulesEngine
Rules Engine is a package for abstracting business logic/rules/policies out of the system. This works in a very simple way by giving you an ability to put your rules in a store outside the core logic of the system thus ensuring that any change in rules doesn't affect the core system.
27
RulesEngine
Rules Engine is a package for abstracting business logic/rules/policies out of the system. This works in a very simple way by giving you an ability to put your rules in a store outside the core logic of the system thus ensuring that any change in rules doesn't affect the core system.
23
RulesEngine
Rules Engine is a package for abstracting business logic/rules/policies out of the system. This works in a very simple way by giving you an ability to put your rules in a store outside the core logic of the system thus ensuring that any change in rules doesn't affect the core system.
22
RulesEngine
Rules Engine is a package for abstracting business logic/rules/policies out of the system. This works in a very simple way by giving you an ability to put your rules in a store outside the core logic of the system thus ensuring that any change in rules doesn't affect the core system.
21
RulesEngine
Rules Engine is a package for abstracting business logic/rules/policies out of the system. This works in a very simple way by giving you an ability to put your rules in a store outside the core logic of the system thus ensuring that any change in rules doesn't affect the core system.
20
RulesEngine
Rules Engine is a package for abstracting business logic/rules/policies out of the system. This works in a very simple way by giving you an ability to put your rules in a store outside the core logic of the system thus ensuring that any change in rules doesn't affect the core system.
19
RulesEngine
Rules Engine is a package for abstracting business logic/rules/policies out of the system. This works in a very simple way by giving you an ability to put your rules in a store outside the core logic of the system thus ensuring that any change in rules doesn't affect the core system.
18
RulesEngine
Rules Engine is a package for abstracting business logic/rules/policies out of the system. This works in a very simple way by giving you an ability to put your rules in a store outside the core logic of the system thus ensuring that any change in rules doesn't affect the core system.
17
RulesEngine
Rules Engine is a package for abstracting business logic/rules/policies out of the system. This works in a very simple way by giving you an ability to put your rules in a store outside the core logic of the system thus ensuring that any change in rules doesn't affect the core system.
16

v3.0.0 - Major feature release

The version contains a lot of fixes and improvements and hopefully as-little-as-possible breaking changes.

FastExpressionCompiler and FastExpressionCompiler.LightExpression

  • Performance and memory consumption is improved, especially for the expressions with the closure and for expressions with the nested lambdas.
  • Filled the gaps in the expressions support.
  • Many fixes in the IL emit.
  • Adds ToCSharpString() to output the compile-able C# code described by the expression (tries hard).
  • Adds ToExpressionString() to output the valid expression construction syntax, so given an expression object you'll get e.g. Lambda(New(...)).
  • Adds optional enum CompilerFlags { Default, NoInvocationLambdaInlining, EnableDelegateDebugInfo} parameter for the compilation
  • EnableDelegateDebugInfo adds the diagnostic info into the compiled delegate including its source Expression and C# code. Can be used as following:
    var f = e.CompileFast(true, CompilerFlags.EnableDelegateDebugInfo);
    var di = f.Target as IDelegateDebugInfo;
    Assert.IsNotNull(di.Expression);
    Assert.IsNotNull(di.ExpressionString);
    Assert.IsNotNull(di.CSharpString);

FastExpressionCompiler.LightExpression

  • Now includes the ExpressionVisitor.
  • Improves the compatibility (the drop-in replacement) between FastExpressionCompiler.LightExpression.Expression and System.Linq.Expression.
  • Decreasing the memory consumed by the created expressions, plus implementing the IArgumentProvider and IParameterProvider for some of the expressions.

The full list of fixes

Milestone v3.0.0

.NET Framework 4.5

.NET Standard 2.0

Version Downloads Last updated
6.0.0 14 10/08/2026
5.4.1 16 06/23/2026
5.4.0 21 06/23/2026
5.3.0 13 06/23/2026
5.2.0 17 06/23/2026
5.2.0-preview-02 10 06/22/2026
5.2.0-preview-01 12 06/23/2026
5.1.1 14 06/23/2026
5.1.0 16 06/23/2026
5.0.3 19 06/23/2026
5.0.2 13 06/23/2026
5.0.1 14 06/23/2026
5.0.0 10 06/23/2026
4.2.2 11 06/23/2026
4.2.1 13 06/23/2026
4.2.0 19 06/23/2026
4.1.0 9 06/23/2026
4.0.2 17 06/23/2026
4.0.1 27 12/12/2023
4.0.0 18 12/12/2023
3.4.0-preview-01 13 12/12/2023
3.3.4 10 12/12/2023
3.3.3 687 12/11/2023
3.3.2 14 12/12/2023
3.3.1 17 12/12/2023
3.3.0 20 12/12/2023
3.2.2 17 12/12/2023
3.2.1 14 12/12/2023
3.2.0 18 12/12/2023
3.1.0 15 12/12/2023
3.1.0-preview-03 12 12/11/2023
3.1.0-preview-02 17 12/12/2023
3.1.0-preview-01 17 03/04/2024
3.0.6-preview-01 18 06/06/2024
3.0.5 14 12/12/2023
3.0.4 17 03/04/2024
3.0.3 14 12/12/2023
3.0.2 16 12/12/2023
3.0.1 7 12/12/2023
3.0.0 16 12/12/2023
3.0.0-preview-07 18 12/12/2023
3.0.0-preview-06 18 12/12/2023
3.0.0-preview-05 17 12/12/2023
3.0.0-preview-04 13 12/12/2023
3.0.0-preview-03 14 12/12/2023
3.0.0-preview-02 16 12/12/2023
3.0.0-preview-01 14 12/12/2023
2.0.0 23 12/12/2023
2.0.0-preview-03 16 12/12/2023
2.0.0-preview-02 20 12/12/2023
2.0.0-preview-01 13 12/12/2023
1.10.1 13 12/12/2023
1.10.0 13 12/12/2023
1.9.0 16 12/12/2023
1.8.0 16 12/12/2023
1.7.2 8 12/12/2023
1.7.1 12 05/28/2024
1.7.0 17 12/12/2023
1.6.0 16 12/12/2023
1.5.0 11 12/12/2023
1.4.0 23 12/12/2023
1.3.0 14 12/12/2023
1.2.2 17 12/12/2023
1.2.1 14 06/22/2026
1.2.0 14 12/11/2023
1.1.1 12 02/23/2025
1.1.0 14 12/12/2023
1.0.1 24 12/12/2023
1.0.0 13 06/22/2026
1.0.0-preview-04 17 12/12/2023
1.0.0-preview-03 19 12/12/2023
1.0.0-preview-02 13 12/12/2023
1.0.0-preview-01 13 12/12/2023