-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Replace Utf16Utility.GetPointerToFirstInvalidChar fallback with Vector128 #90391
Conversation
…r128 The else block will only be used on platforms where `Vector<T>` is 128-bit, so just use Vector128 explicitly.
Tagging subscribers to this area: @dotnet/area-system-text-encoding Issue DetailsThe else block will only be used on platforms where
|
src/libraries/System.Private.CoreLib/src/System/Text/Unicode/Utf16Utility.Validation.cs
Outdated
Show resolved
Hide resolved
Is |
Yes |
@stephentoub Could you also take a look at
|
I already did. |
The else block will only be used on platforms where
Vector<T>
is 128-bit, so just use Vector128 explicitly.