KJFramework.Message 1.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package KJFramework.Message --version 1.3.0
NuGet\Install-Package KJFramework.Message -Version 1.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KJFramework.Message" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KJFramework.Message --version 1.3.0
#r "nuget: KJFramework.Message, 1.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install KJFramework.Message as a Cake Addin
#addin nuget:?package=KJFramework.Message&version=1.3.0

// Install KJFramework.Message as a Cake Tool
#tool nuget:?package=KJFramework.Message&version=1.3.0

KJFramework.Messages, 提供了.NET平台的高性能序列化/反序列化解决方案。

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has 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
1.6.0 1,841 12/19/2013
1.5.0 1,536 5/7/2013
1.4.3 1,358 4/7/2013
1.4.2 1,284 4/1/2013
1.4.1 1,263 3/28/2013
1.4.0 1,344 1/5/2013
1.3.2 1,293 12/24/2012
1.3.1.1 1,266 12/19/2012
1.3.0 1,516 9/17/2012
1.2.0 1,362 8/23/2012
1.1.1 1,372 8/10/2012
1.1.0 1,345 7/16/2012
1.0.0 1,272 7/16/2012

在本次版本更新中,主要解决两个问题:
1.fastinvoke带来的拆装箱问题
用MSIL封装了一个PropertySetStubHelper类,用泛型的方式动态的创建了CreateDelegate的实例从而解决了拆装箱的问题。
2.Array.SetValue带来的性能问题
把所有以前用到Array.SetValue的地方全部后置到类型的Processor里面,全部用托管指针操作,对于大于10个元素的数组,采用
内存一次拷贝的方式赋值,避免元素数量过多循环带来的内存开销。
上面两点的修改,使KJFramework.Messages框架的反序列化性能进一步得到提升,大概在50%左右。