3 ms·
This is the .net library code they're beating. It's hundreds of lines long and makes use of ARM SIMD or SSE2 depending on support available. Lemire and collea
by kristianp 2y ago
This is the .net library code they're beating. It's hundreds of lines long and makes use of ARM SIMD or SSE2 depending on support available. Lemire and colleague have certainly improved on that algorithm if it's only 30 lines long.
https://github.com/dotnet/runtime/blob/main/src/libraries/System.Private.CoreLib/src/System/Text/Unicode/Utf8Utility.Validation.cs#L24 https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...