How fast can you fix a UTF-16 string in C#?

https://lemire.me/blog/2026/09/26/how-fast-can-you-fix-a-utf-16-string-in-c/

Comments

MiroslavPokornySep 28, 2026, 3:42 AM
WHy does DOTNET allow the creation of Strings with invalid surrogate pairs ?