diff options
| author | bors <bors@rust-lang.org> | 2022-12-24 07:35:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-24 07:35:23 +0000 |
| commit | 5e8bab91d339037388d152fd5066c26ae707d54e (patch) | |
| tree | 1994ffd27f95daf501c6c706f2cd6eab2446a117 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 4f4d0586ad20c66a16d547581ca379beafece93a (diff) | |
| parent | 28162ad97024f470e107dd224f07f1d6ca0fa642 (diff) | |
| download | rust-5e8bab91d339037388d152fd5066c26ae707d54e.tar.gz rust-5e8bab91d339037388d152fd5066c26ae707d54e.zip | |
Auto merge of #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
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
