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
.NET Core 2.1 and .NET Standard 2.1 have introduced new APIs Span<T> and Memory<T> which provide high-performance memory access and operation, and SpanJson (see: https://github.com/Tornhoof/SpanJson) is a json library which uses Span<T> to accelerate the json parsing process.
Hope that aliyun-log-dotnetcore-sdk can replace Json.NET with SpanJson to improve its performance and throughput.
Note that the default behavior of serializing an Enum in SpanJson is to convert the enum value to string, which is different from Json.NET, so you may need to create a CustomFormatter (see: Tornhoof/SpanJson#112) to keep previous behavior.
Thanks!
The text was updated successfully, but these errors were encountered:
.NET Core 2.1 and .NET Standard 2.1 have introduced new APIs
Span<T>
andMemory<T>
which provide high-performance memory access and operation, and SpanJson (see: https://github.com/Tornhoof/SpanJson) is a json library which usesSpan<T>
to accelerate the json parsing process.Hope that aliyun-log-dotnetcore-sdk can replace Json.NET with SpanJson to improve its performance and throughput.
Note that the default behavior of serializing an Enum in SpanJson is to convert the enum value to string, which is different from Json.NET, so you may need to create a CustomFormatter (see: Tornhoof/SpanJson#112) to keep previous behavior.
Thanks!
The text was updated successfully, but these errors were encountered: