FastExpressionCompiler.src 6.0.0

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

No packages depend on FastExpressionCompiler.src.

v6.0.0 Major release

Changes

  • The new supported target frameworks are .NET 8.0, .NET 10.0, .NET 4.7.2, .NET Standard 2.1
  • Drops .NET 6, 9 and .NET Standard 2.0 support
  • #516 Change ClosureInfo into CompilerContext (should be transparent for existing code)

Fixes

  • #553 CompileFast returns wrong values when a member is accessed on an interface converted to a struct
  • #536 Exception System.IndexOutOfRangeException with value objects implicit conversions starting from v5.0.3

Performance Improvements

  • #489 Try interpret a switch expression - if switch value is interpretable (constant) then select a single matched branch
  • #375 Use UnsafeAccess in net8+ and UnsafeAccessType in net10+
  • #135 Optimize Branches to Small Branches
  • #351 Use internals of DynamicMethod

.NET 8.0

  • No dependencies.

.NET Framework 4.7.2

.NET Standard 2.1

Version Downloads Last updated
6.0.0 1 11/11/2026
5.4.1 0 04/13/2026
5.4.0 0 03/30/2026
5.3.3 0 10/31/2025
5.3.2 0 10/22/2025
5.3.1 0 10/21/2025
5.3.0 0 06/10/2025
5.2.0 0 05/12/2025
5.1.1 0 04/02/2025
5.1.0 0 03/31/2025
5.0.3 0 03/26/2025
5.0.2 1 11/11/2026
5.0.1 2 11/11/2026
5.0.0 0 11/22/2024
4.2.2 0 10/13/2024
4.2.1 0 07/02/2024
4.2.0 0 04/29/2024
4.1.0 0 01/20/2024
4.0.2 0 01/20/2024
4.0.1 1 11/11/2026
4.0.0 1 11/11/2026
3.3.4 0 01/17/2023
3.3.3 0 07/24/2022
3.3.2 0 05/27/2022
3.3.1 0 05/25/2022
3.3.0 0 04/26/2022
3.2.2 0 02/02/2022
3.2.1 1 11/11/2026
3.2.0 0 06/14/2021
3.1.0 0 05/03/2021
3.0.5 1 11/11/2026
3.0.4 0 04/06/2021
3.0.3 1 11/11/2026
3.0.2 0 03/30/2021
3.0.1 0 03/27/2021
3.0.0 0 03/17/2021