Skip to content

Commit 2759144

Browse files
committed
Auto merge of rust-lang#106081 - mina86:c, r=Mark-Simulacrum
char: µoptimise UTF-16 surrogates decoding According to Godbolt¹, on x86_64 using binary and produces slightly better code than using subtraction. Readability of both is pretty much equivalent so might just as well use the shorter option. ¹ https://rust.godbolt.org/z/9jM3ejbMx
2 parents 5696986 + ef4d640 commit 2759144

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)