FastExpressionCompiler.src
4.2.2
Prefix Reserved
Requires NuGet 3.3.0 or higher.
dotnet add package FastExpressionCompiler.src --version 4.2.2
NuGet\Install-Package FastExpressionCompiler.src -Version 4.2.2
<PackageReference Include="FastExpressionCompiler.src" Version="4.2.2" />
paket add FastExpressionCompiler.src --version 4.2.2
#r "nuget: FastExpressionCompiler.src, 4.2.2"
// Install FastExpressionCompiler.src as a Cake Addin #addin nuget:?package=FastExpressionCompiler.src&version=4.2.2 // Install FastExpressionCompiler.src as a Cake Tool #tool nuget:?package=FastExpressionCompiler.src&version=4.2.2
FastExpressionCompiler is 10-40x times faster than Expression.Compile()
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- System.Dynamic.Runtime (>= 4.3.0)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.2.2 | 95 | 10/13/2024 |
4.2.1 | 159 | 7/2/2024 |
4.2.0 | 166 | 4/29/2024 |
4.1.0 | 180 | 1/20/2024 |
4.0.2 | 142 | 1/20/2024 |
4.0.1 | 264 | 11/23/2023 |
4.0.0 | 185 | 11/12/2023 |
3.3.4 | 413 | 1/17/2023 |
3.3.3 | 507 | 7/24/2022 |
3.3.2 | 506 | 5/27/2022 |
3.3.1 | 499 | 5/25/2022 |
3.3.0 | 513 | 4/26/2022 |
3.2.2 | 756 | 2/2/2022 |
3.2.1 | 4,456 | 7/21/2021 |
3.2.0 | 438 | 6/14/2021 |
3.1.0 | 401 | 5/3/2021 |
3.0.5 | 407 | 4/21/2021 |
3.0.4 | 410 | 4/6/2021 |
3.0.3 | 441 | 4/1/2021 |
3.0.2 | 414 | 3/30/2021 |
3.0.1 | 438 | 3/27/2021 |
3.0.0 | 458 | 3/17/2021 |
## v4.2.2 Bug-fix release
- fix: #418 Wrong output when comparing NaN value
- fix: #419 System.InvalidProgramException : The JIT compiler encountered invalid IL code or an internal limitation
- fix: #420 Nullable<DateTime> comparison differs from Expression.Compile
- fix: #421 Date difference is giving wrong negative value
- fix: #422 [bug] InvalidProgramException when having TryCatch + Default in Catch
- fix: #423 Converting a uint to a float gives the wrong result
## v4.2.1 Feature and bug-fix release
- fix: ImTools should disable the nullable context
- fix: nullable property
- fix: Incorrect il for struct indexer
- fix: Fix or support return ref value
- fix: Incorrect il when passing by ref value
## Contributors
* @sebastienros made contribution in https://github.com/dadhi/FastExpressionCompiler/pull/412
## Full Changelog
https://github.com/dadhi/FastExpressionCompiler/compare/v4.2.0...v4.2.1
## v4.2.0 Feature and bug-fix release
- feat: #133 Optimize Switch Expression
- feat: #393 Support ToCSharpString of the block in the ternary expression
- feat: #396 Optimize conditional expressions with the DefaultExpression left or right operand the same way as ConstantExpression
- fix: #390 System.AccessViolationException when mapping using Mapster
- fix: #391 ToCSharpString outputs ? for Nullable which does not produce the compile-able code
- fix: #392 ToExpressionString wrongly declares Label instead of LabelTarget array
- fix: #394 Calling a user defined == operator runs into a CLR invalid program exception
- fix: #397 Fix and optimize the Switch support
- fix: #399 Coalesce nullable with 0 is not working
- fix: #400 Fix the direct assignment of Try to Member expression because indirect assignment through tmp var works
- fix: #401 Invoke inlining is not working with collections in AutoMapper tests
- fix: #404 An expression with a single parameter concatenated to a string causes 'Exception has been thrown by the target of an invocation' during delegate invocation
- fix: #405 NullReferenceException with V4.X when using long?[]
- fix: #406 NullReferenceException with V4.X
- fix: #407 NullReferenceException when setting the Enum field
- fix: #408 Dictionary mapping failing when the InvocationExpression inlining is involved
## v4.1.0 Small feature and bug release
- added: #379 Add direct net8.0 target as soon as Appveyor CI will support it
- fixed: #380 Comparisons with nullable types
- fixed: #381 NullReferenceException with V4.X when trying to map
- fixed: #386 Value can not be null(parametr 'meth')
## v4.0.1 Bug-fix release
- fixed: #374 CompileFast doesn't work with HasFlag
## v4.0.0 Major release
- fixed: #352 xxxAssign doesn't work with MemberAccess
- fixed: #353 NullReferenceException when calling CompileFast() results
- fixed: #357 Invalid program exception
- fixed: #366 FastExpressionCompiler[v3.3.4] gives incorrect results in some linq operations
- fixed: #368 Fix duplicate nested lambda compilation
- fixed: #374 CompileFast doesn't work with HasFlag
- added: #264 Optimize the array index emit to emit specific Ldelem_ code instead of generic Ldelem
- added: #273 Implement IArgumentProvider for the BlockExpression to minimize the consumed memory
- added: #346 Is it possible to implement ref local variables?
- added: #359 Improve the performance of variable lookup
- added: #367 Better diagnostics and debugging with error codes from Collect and Compile rounds
- added: #369 Decrease memory occupied by the LightExpression Block by storing Expression in SmallList (partly on stack)
- added: #370 Optimize any nested lambda compilation (LINQ) by compiling right after collect one-by-one
- added: #372 Support LightExpression.Expression.TryConvertDelegateIntrinsic for converting one type of delegate to another
- added: #373 Support custom C# printing for the LightExpression.Expression