-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TextEncoder.FindFirstCharacterToEncodeUtf8 not being used anywhere. #39829
Comments
Tagging subscribers to this area: @tarekgh |
@GrabYourPitchforks just checking if you are triaging this area? |
This method was at one point used by System.Text.Json (see source). They've stopped using the API since then, but since it's a public API we need to keep it around in perpetuity. What is this bug tracking? That we should stop making perf changes to this API? I'd be fine with that if that's the direction we want to go. |
Unlike |
Discovered this issue while working on ARM64 intrinsics optimizations for System.Text.Encodings.Web. While the method is public, it is also marked
EditorBrowsable.Never
. There are however unit tests consuming it.A lot of the intrinsics optimizations for this project live in
FindFirstCharacterToEncodeUtf8
implementations, and as a result we're not seeing performance improvements when benchmarkingTextEncoder.EncodeUtf8
.The text was updated successfully, but these errors were encountered: