You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P/Invoke causes verification error in Windows Native.
It gains performance for edge case -- comparing (relatively) large blob (not string).
It is clearly rare, and it may bring packaging issue in future.
In addition, it is not so bad naive managed loop. In best (or worst) case, it only 1.8x slower than memcmp.
Although it is 12x slower when it is well aligned bytes, but it should be rare in real world.
So, memcmp has gone.
* MessagePackObject comparison which have large binary data will be about 2x - 18x slower in .NET 3.5/4.5/4.6(other platforms will not be affected).
621
+
619
622
NEW FEATURES
620
623
* Users of serializer code generator API can specify TextWriter to output. This may improve tooling chain.
621
624
* Users of serializer code generator API can suppress [DebuggerNonUserCode] attribute to enable debugger step in.
@@ -629,4 +632,5 @@ Release 0.9.0 (planned)
629
632
* Fix extra field causes IndexOutOfBoundException when reflection based serializers are used. Issue #199
630
633
* Fix some built-in serializers throws InvalidOperationException instead of SerializationException for type errors. Issue #204
631
634
* Fix a combination of readonly members and collection members incorrect code generation when the type also have deserialization constructor. Issue #207.
0 commit comments