When publishing a Blazor WASM app, the Vector128<T> type is being left in the published app. The only method that is using it is:
| // We have paths for SSE4.1 vectorization inside the inner loop. Since the below |
| // vector is only used in those code paths, we leave it uninitialized if SSE4.1 |
| // is not enabled. |
| |
| Unsafe.SkipInit(outVector128<short>nonAsciiUtf16DataMask); |
| if(Sse41.X64.IsSupported||(AdvSimd.Arm64.IsSupported&&BitConverter.IsLittleEndian)) |
| { |
| nonAsciiUtf16DataMask=Vector128.Create(unchecked((short)0xFF80));// mask of non-ASCII bits in a UTF-16 char |
| } |
We should try to refactor this code to not root the Vector128<T> Type in a Blazor WASM app.
When publishing a Blazor WASM app, the
Vector128<T>type is being left in the published app. The only method that is using it is:runtime/src/libraries/System.Private.CoreLib/src/System/Text/Unicode/Utf8Utility.Transcoding.cs
Lines 881 to 889 in 40b0915
We should try to refactor this code to not root the
Vector128<T>Type in a Blazor WASM app.