FastExpressionCompiler 3.0.6-preview-01

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

Showing the top 20 packages that depend on FastExpressionCompiler.

Packages Downloads
Marten
Postgresql as a Document Db and Event Store for .Net Development
38
JasperFx.CodeGeneration
Code Generation Chicanery for .Net
30
JasperFx.CodeGeneration
Code Generation Chicanery for .Net
29
JasperFx.CodeGeneration
Code Generation Chicanery for .Net
27
JasperFx.CodeGeneration
Code Generation Chicanery for .Net
24
JasperFx.CodeGeneration
Code Generation Chicanery for .Net
22
Marten
Postgresql as a Document Db and Event Store for .Net Development
17
JasperFx.CodeGeneration
Code Generation Chicanery for .Net
15
Marten
Postgresql as a Document Db and Event Store for .Net Development
15
JasperFx.CodeGeneration
Code Generation Chicanery for .Net
14
Marten
Postgresql as a Document Db and Event Store for .Net Development
14
JasperFx.CodeGeneration
Code Generation Chicanery for .Net
13
Marten
Postgresql as a Document Db and Event Store for .Net Development
13

## v3.0.6 Bug-fix release - fixed: another case in #301 InvalidOperationException in the Mapster - fixed: ListInit compilation for the Dictionary ## v3.0.5 Bug-fix release - fixed: another case in #301 InvalidOperationException in the Mapster - fixed: multiple problems with the TryCatch C# and Expression string output ## v3.0.4 Bug-fix release - fixed: #302 Error compiling expression with array access ## v3.0.3 Bug-fix release - fixed: #301 InvalidOperationException in the Mapster - fixed: small bugs in the Lambda ToCSharpString output ## v3.0.2 Bug-fix release - fixed: #300 Bad label content in ILGenerator in the Mapster benchmark with FEC V3 - fixed: Small issues with the `ToCSharpString()`, specifically in the TryCatch, and the Goto, and the Label expressions ## v3.0.1 Bug-fix release fixed: #298 LightExpression with the NewExpression of 4 arguments has ArgumentCount = 3 ## v3.0.0 - Major feature release This version contains a lot of fixes and improvements and as-little-as-possible breaking changes. ### **FastExpressionCompiler** and **FastExpressionCompiler.LightExpression** - Performance and memory consumption are improved, especially for the expressions with the closure and for expressions with the nested lambdas. - More expression types are supported. - Many fixes in the IL Emit. - Added `ToCSharpString()` extension method to output the compile-able C# code described by the expression (tries hard). - Added `ToExpressionString()` extension method to output the valid expression construction syntax, so given an expression object you'll get e.g. `Lambda(New(...))`. - Added 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: ```cs 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 the `FastExpressionCompiler.LightExpression.Expression` and the `System.Linq.Expression`. - Decreasing the memory consumed by the created expressions partially via implementing the `IArgumentProvider` and `IParameterProvider` for some expressions. ### The full list of the closed issues [Milestone v3.0.0](https://github.com/dadhi/FastExpressionCompiler/milestone/19)

.NET Framework 4.5

.NET Standard 2.0

.NET Standard 2.1

  • No dependencies.

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