rust/library/core
Michal Nazarewicz 28162ad970 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
2022-12-23 14:15:33 +01:00
..
benches Rollup merge of #103570 - lukas-code:stabilize-ilog, r=scottmcm 2022-11-09 19:21:21 +05:30
primitive_docs
src char: µoptimise UTF-16 surrogates decoding 2022-12-23 14:15:33 +01:00
tests char: µoptimise UTF-16 surrogates decoding 2022-12-23 14:15:33 +01:00
Cargo.toml