FastExpressionCompiler 1.6.0

FastExpressionCompiler is up to ~20 times faster than Expression.Compile()

There is a newer version of this package available.
See the version list below for details.
Install-Package FastExpressionCompiler -Version 1.6.0
dotnet add package FastExpressionCompiler --version 1.6.0
<PackageReference Include="FastExpressionCompiler" Version="1.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FastExpressionCompiler --version 1.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v1.6.0
     - added: ExpressionInfo.ToString()
     - added: Overload to compile most generic ExpressionInfo to lambda
     - fixed: #49 Why the result is incorrect?
     - fixed: ExpressionInfo to Expression conversion in cirtain cases
     v1.5.0
     - added: #10 TryExpression support
     - added: #18 Support Expression.Block
     - added: #30 Expression.Assign for array indexer
     - added: #32 Support Expression.Condition
     - added: #35 Coalescence operator ??
     - added: #34 Arithmetic operations
     - added: #42 Add conversion from ExpressionInfo to Expression
     - added: FastCompile methods for ExpressionInfo
     - fixed: #44 Conversion to Nullable{T} throws InvalidProgramException
     - fixed: Creation of dynamic method for un-typed delegate
     v1.4.0:
     - added: NetStandard 2.0 target
     - added: #17: Expression(Info).Assign support for parameters, fields and members
     - added: Support for ExpressionInfo.Invoke
     v1.3.0:
     - added: #20 Allow ExpressionInfo.MemberInit for non-New expressions
     - fixed: #19 Nested CallExpression causes System.AccessViolationException
     - fixed: ValueType member access
     - fixed: False positive in TryCollectBoundConstants for not yet supported expression types
     v1.2.2:
     - fixed: #16: FastCompile with fallback could return null
     v1.2.1:
     - Lowering full .NET support to .NET 4.5
     v1.2.0:
     - fixed: #14, #15: Support general equality mechanism, e.g. Equals and equality operator
     - added: #11: Support for ExpressionInfo NewArray, MemberInit, ArrayIndex, Convert, MemberAccess
     - added: #12: Add extension method CompileFast to simplify migration from Compile
     - added: #13: Allow Expression as child of multi-child ExpressionInfo

Showing the top 2 GitHub repositories that depend on FastExpressionCompiler:

Repository Stars
MapsterMapper/Mapster
A fast, fun and stimulating object to object Mapper
itdos/Dos.ORM
Dos.ORM(原Hxj.Data)于2009年发布,2015年正式开源。在开发过程中参考了NBear与MySoft,吸取了他们的一些精华,加入新思想,同时参考EF的Lambda语法进行大量扩展。该组件已在数百个成熟项目中应用。官方网站:http://ITdos.com/Dos/ORM/Index.html 交流QQ群:60831381

Version History

Version Downloads Last updated
2.0.0 29,771 1/25/2019
2.0.0-preview-03 468 11/9/2018
2.0.0-preview-02 547 10/25/2018
2.0.0-preview-01 258 10/24/2018
1.10.1 12,914 8/8/2018
1.10.0 326 8/3/2018
1.9.0 722 7/24/2018
1.8.0 5,469 6/24/2018
1.7.2 3,583 6/7/2018
1.7.1 3,572 3/27/2018
1.7.0 5,648 3/17/2018
1.6.0 7,499 12/3/2017
1.5.0 1,572 11/12/2017
1.4.0 5,911 9/9/2017
1.3.0 539 8/28/2017
1.2.2 849 8/8/2017
1.2.1 470 8/8/2017
1.2.0 469 8/8/2017
1.1.1 69,880 7/18/2017
1.1.0 430 7/13/2017
1.0.1 881 5/26/2017
1.0.0 759 4/2/2017
1.0.0-preview-04 432 3/31/2017
1.0.0-preview-03 647 3/30/2017
1.0.0-preview-02 418 3/29/2017
1.0.0-preview-01 514 3/23/2017
Show less