-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
area-System.Text.Jsonhelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorstenet-performancePerformance related issuePerformance related issue
Milestone
Description
old discussion: dotnet/corefx#34425 (comment)
runtime/src/libraries/System.Text.Json/src/System/Text/Json/Writer/JsonWriterHelper.Transcoding.cs
Line 28 in eeef4b1
| public static unsafe OperationStatus ToUtf8(ReadOnlySpan<byte> utf16Source, Span<byte> utf8Destination, out int bytesConsumed, out int bytesWritten) |
the corelib implementation this ToUtf8 method was shadowing back in 2018-2019 is accelerated with hardware intrinsics since and code was heavily refactored, but JsonWriterHelper.Transcoding is stuck in time. should it be replaced by corelib version?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.Text.Jsonhelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorstenet-performancePerformance related issuePerformance related issue