FastExpressionCompiler 2.0.0

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.
699
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.
44
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.
29
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.
25
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.
24
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.
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

v2.0.0 Developed with a help of @jogibear9988, @dzmitry-lahoda, @MaceWindu, and other contributors - kudos to all of them!

  • removed: ExpressionInfo was moved into separate package FastExpressionCompiler.LigthExpression with all the functionality of the FEC. The ExpressionInfo itself was renamed to Expression for more simple drop-in replacement.

  • added: #57 Consider signed package version!

  • added: #59 Support compiling delegates with ref and out parameters

  • added: #78 Lambda<Func>(Block(Label(Label(typeof(int)), Constant(7)))) is not supported

  • added: #88 Lambda<Func>(Block(Constant(IntPtr.Zero)))

  • added: #91 Support for MultiplyAssign, AddAsiggn, DivideAssign

  • added: #98 % and bit operators are not supported

  • added: #101 Some Assign Modes are not yet supported

  • added: #102 Label and Goto Expression not yet implemented

  • added: #105 Bit Expression Types are not yet supported

  • added: #106 ExpressionType.Power not supported

  • added: #107 Check if xxxAssigns also work with Variables

  • added: #118 Support for Expression.Variable (in a Expression.Block)

  • added: #127 Switch is not supported

  • added: #130 Net Framework Expression compiler generates perfromanter Code for isNull check

  • added: #138 Optimize Compilation of nested Lambdas

  • fixed: #83 Issues with linq2db tests

  • fixed: #92 Expression not compilable

  • fixed: #93 Comparison to "null" does not work when not Typed

  • fixed: #95 Ref support not yet working completely

  • fixed: #124 LightExpression wrong Type

  • fixed: #131 Linq2db - Test for JIT compiler internal limitation

  • fixed: #137 Problem with Reading & Writing of Struct Fields.

  • fixed: #146 Boolean parameter value changed from false to true

  • fixed: #147 'Common Language Runtime detected an invalid program' with int.TryParse

  • fixed: #151 'Attempt to read protected memory'

  • fixed: #152 int.MinValue access throws 'Method not supported'

  • fixed: #154 Equals Expression does not call "Equals" of class (in MS Code)

  • fixed: #156 Invoking an Action constant fails with 'Common Language Runtime detected an invalid program'

  • fixed: #159 Condition with converted numeric comparisons gives unexpected result

  • fixed: #162 Float - short numeric comparisons with conversions gives unexpected result

  • fixed: #163 Add of Nullable Int, etc does not work correctly

  • fixed: #165 Int and Decimal to Double conversion issues

  • fixed: #170 Problems with ref parameters

  • fixed: #172 Using FEC to compile a property setter with an enum value sets the property to random values

.NET Framework 4.5

  • No dependencies.

.NET Standard 1.3

.NET Standard 2.0

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