Skip to content

Commit b90ba8c

Browse files
committed
releasing v3.2.0
1 parent 5d186b7 commit b90ba8c

File tree

12 files changed

+73
-13
lines changed

12 files changed

+73
-13
lines changed

BuildScripts/NuGetPublish.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set PACKAGES=..\.dist
44
set SOURCE=https://api.nuget.org/v3/index.json
55
set /p APIKEY=<"..\..\ApiKey.txt"
66

7-
set PKGVER=3.1.0
7+
set PKGVER=3.2.0
88

99
dotnet nuget push "%PACKAGES%\FastExpressionCompiler.%PKGVER%.nupkg" -k %APIKEY% -s %SOURCE%
1010
dotnet nuget push "%PACKAGES%\FastExpressionCompiler.src.%PKGVER%.nupkg" -k %APIKEY% -s %SOURCE%

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ image:
33
- Ubuntu
44
- macOS
55

6-
version: 3.1.0-b{build}
6+
version: 3.2.0-b{build}
77

88
test: off
99

nuspecs/FastExpressionCompiler.Internal.src.nuspec

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata minClientVersion="3.3.0">
44
<id>FastExpressionCompiler.Internal.src</id>
5-
<version>3.1.0</version>
5+
<version>3.2.0</version>
66
<authors>Maksim Volkau</authors>
77
<copyright>Copyright © 2016-2021 Maksim Volkau</copyright>
88
<projectUrl>https://github.com/dadhi/FastExpressionCompiler</projectUrl>
@@ -12,6 +12,15 @@
1212
<description>FastExpressionCompiler is 10-40x times faster than Expression.Compile()</description>
1313
<tags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</tags>
1414
<releaseNotes><![CDATA[
15+
## v3.2.0 Bug-fix and optimization release
16+
17+
- fixed: #305 CompileFast generates incorrect code with arrays and printing
18+
- fixed: added missing Expression.MakeCatchBlock
19+
- optimized: memory of Expression of T
20+
- optimized: for the custom MethodCallExpression
21+
- optimized: adding the ConstantInt and ConstantOf without boxing and null constant with the less space
22+
23+
1524
## v3.1.0 Feature and bug-fix release
1625
1726
- added: #297 Add custom Constant to string output in the ToCSharpString and ToExpressionString

nuspecs/FastExpressionCompiler.LightExpression.Internal.src.nuspec

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata minClientVersion="3.3.0">
44
<id>FastExpressionCompiler.LightExpression.Internal.src</id>
5-
<version>3.1.0</version>
5+
<version>3.2.0</version>
66
<authors>Maksim Volkau</authors>
77
<copyright>Copyright © 2016-2021 Maksim Volkau</copyright>
88
<projectUrl>https://github.com/dadhi/FastExpressionCompiler</projectUrl>
@@ -12,6 +12,15 @@
1212
<description>FastExpressionCompiler is 10-40x times faster than Expression.Compile()</description>
1313
<tags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</tags>
1414
<releaseNotes><![CDATA[
15+
## v3.2.0 Bug-fix and optimization release
16+
17+
- fixed: #305 CompileFast generates incorrect code with arrays and printing
18+
- fixed: added missing Expression.MakeCatchBlock
19+
- optimized: memory of Expression of T
20+
- optimized: for the custom MethodCallExpression
21+
- optimized: adding the ConstantInt and ConstantOf without boxing and null constant with the less space
22+
23+
1524
## v3.1.0 Feature and bug-fix release
1625
1726
- added: #297 Add custom Constant to string output in the ToCSharpString and ToExpressionString

nuspecs/FastExpressionCompiler.LightExpression.src.nuspec

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata minClientVersion="3.3.0">
44
<id>FastExpressionCompiler.LightExpression.src</id>
5-
<version>3.1.0</version>
5+
<version>3.2.0</version>
66
<authors>Maksim Volkau</authors>
77
<copyright>Copyright © 2016-2021 Maksim Volkau</copyright>
88
<projectUrl>https://github.com/dadhi/FastExpressionCompiler</projectUrl>
@@ -12,6 +12,15 @@
1212
<description>FastExpressionCompiler is 10-40x times faster than Expression.Compile()</description>
1313
<tags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</tags>
1414
<releaseNotes><![CDATA[
15+
## v3.2.0 Bug-fix and optimization release
16+
17+
- fixed: #305 CompileFast generates incorrect code with arrays and printing
18+
- fixed: added missing Expression.MakeCatchBlock
19+
- optimized: memory of Expression of T
20+
- optimized: for the custom MethodCallExpression
21+
- optimized: adding the ConstantInt and ConstantOf without boxing and null constant with the less space
22+
23+
1524
## v3.1.0 Feature and bug-fix release
1625
1726
- added: #297 Add custom Constant to string output in the ToCSharpString and ToExpressionString

nuspecs/FastExpressionCompiler.src.nuspec

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata minClientVersion="3.3.0">
44
<id>FastExpressionCompiler.src</id>
5-
<version>3.1.0</version>
5+
<version>3.2.0</version>
66
<authors>Maksim Volkau</authors>
77
<copyright>Copyright © 2016-2021 Maksim Volkau</copyright>
88
<projectUrl>https://github.com/dadhi/FastExpressionCompiler</projectUrl>
@@ -12,6 +12,15 @@
1212
<tags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</tags>
1313
<icon>logo.png</icon>
1414
<releaseNotes><![CDATA[
15+
## v3.2.0 Bug-fix and optimization release
16+
17+
- fixed: #305 CompileFast generates incorrect code with arrays and printing
18+
- fixed: added missing Expression.MakeCatchBlock
19+
- optimized: memory of Expression of T
20+
- optimized: for the custom MethodCallExpression
21+
- optimized: adding the ConstantInt and ConstantOf without boxing and null constant with the less space
22+
23+
1524
## v3.1.0 Feature and bug-fix release
1625
1726
- added: #297 Add custom Constant to string output in the ToCSharpString and ToExpressionString

src/FastExpressionCompiler.LightExpression/FastExpressionCompiler.LightExpression.csproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<TargetFrameworks>net45;netstandard2.0;netstandard2.1</TargetFrameworks>
44

5-
<VersionPrefix>3.1.0</VersionPrefix>
5+
<VersionPrefix>3.2.0</VersionPrefix>
66
<VersionSuffix></VersionSuffix>
77

88
<Product>FastExpressionCompiler.LightExpression</Product>
@@ -12,6 +12,15 @@
1212
<Description>FastExpressionCompiler for LightExpression is 10-40x times faster than Expression.Compile()</Description>
1313
<PackageTags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</PackageTags>
1414
<PackageReleaseNotes><![CDATA[
15+
## v3.2.0 Bug-fix and optimization release
16+
17+
- fixed: #305 CompileFast generates incorrect code with arrays and printing
18+
- fixed: added missing Expression.MakeCatchBlock
19+
- optimized: memory of Expression of T
20+
- optimized: for the custom MethodCallExpression
21+
- optimized: adding the ConstantInt and ConstantOf without boxing and null constant with the less space
22+
23+
1524
## v3.1.0 Feature and bug-fix release
1625
1726
- added: #297 Add custom Constant to string output in the ToCSharpString and ToExpressionString

src/FastExpressionCompiler/FastExpressionCompiler.csproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net45;netstandard2.0;netstandard2.1</TargetFrameworks>
4-
<VersionPrefix>3.1.0</VersionPrefix>
4+
<VersionPrefix>3.2.0</VersionPrefix>
55
<VersionSuffix></VersionSuffix>
66
<Product>FastExpressionCompiler</Product>
77
<PackageId>$(Product)</PackageId>
88
<Title>$(Product)</Title>
99
<Description>FastExpressionCompiler is 10-40x times faster than Expression.Compile()</Description>
1010
<PackageTags>Performance;Expression;ExpressionTree;Compile;DynamicMethod;IL;ILEmit;DryIoc;ExpressionToCodeLib</PackageTags>
1111
<PackageReleaseNotes><![CDATA[
12+
## v3.2.0 Bug-fix and optimization release
13+
14+
- fixed: #305 CompileFast generates incorrect code with arrays and printing
15+
- fixed: added missing Expression.MakeCatchBlock
16+
- optimized: memory of Expression of T
17+
- optimized: for the custom MethodCallExpression
18+
- optimized: adding the ConstantInt and ConstantOf without boxing and null constant with the less space
19+
20+
1221
## v3.1.0 Feature and bug-fix release
1322
1423
- added: #297 Add custom Constant to string output in the ToCSharpString and ToExpressionString

test/FastExpressionCompiler.Benchmarks/FastExpressionCompiler.Benchmarks.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<!-- <TargetFramework>net5.0</TargetFramework> -->
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
5+
<!-- <TargetFramework>netcoreapp3.1</TargetFramework> -->
66
<OutputType>Exe</OutputType>
77

88
<IsTestProject>false</IsTestProject>

test/FastExpressionCompiler.Benchmarks/LightExprVsExpr_CreateAndCompile_ComplexExpr.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ public class LightExprVsExpr_CreateAndCompile_ComplexExpr
6868
| CreateExpression_and_CompileFast | 11.538 us | 0.2286 us | 0.6411 us | 1.41 | 0.10 | 1.0223 | 0.5035 | 0.0458 | 6.28 KB |
6969
| CreateLightExpression_and_CompileFast | 8.408 us | 0.1501 us | 0.1844 us | 1.00 | 0.00 | 0.8850 | 0.4425 | 0.0458 | 5.47 KB |
7070
71+
## v3.2
72+
73+
| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen 0 | Gen 1 | Gen 2 | Allocated |
74+
|-------------------------------------- |-----------:|----------:|----------:|------:|--------:|-------:|-------:|-------:|----------:|
75+
| CreateExpression_and_Compile | 239.100 us | 3.4564 us | 3.2331 us | 25.78 | 0.54 | 0.9766 | 0.4883 | - | 7.19 KB |
76+
| CreateExpression_and_CompileFast | 13.480 us | 0.2612 us | 0.2443 us | 1.45 | 0.02 | 1.0071 | 0.4883 | 0.0305 | 6.28 KB |
77+
| CreateLightExpression_and_CompileFast | 9.278 us | 0.1465 us | 0.1370 us | 1.00 | 0.00 | 0.8698 | 0.4272 | 0.0305 | 5.41 KB |
78+
7179
*/
7280

7381
[Benchmark]

0 commit comments

Comments
 (0)