Easton Man's Channel
6 hours ago
Daniel Lemire's blog
How fast can you fix a UTF-16 string in C#?
Telegraph
|
source
Telegraph
How fast can you fix a UTF-16 string in C#?
C# strings are UTF-16. Most characters are one 16-bit code unit. Characters outside the basic multilingual plane, emoji included, take two: a high surrogate (U+D800 to U+DBFF) followed by a low surrogate (U+DC00 to U+DFFF). A surrogate with the wrong neighbor…
Home
Powered by
BroadcastChannel
&
Sepia