diff options
| author | Michal Nazarewicz <mina86@mina86.com> | 2022-12-23 13:38:03 +0100 |
|---|---|---|
| committer | Michal Nazarewicz <mina86@mina86.com> | 2022-12-23 14:15:33 +0100 |
| commit | 28162ad97024f470e107dd224f07f1d6ca0fa642 (patch) | |
| tree | 258c81d3a756329db87a00554044b23e78f574f0 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 5e656baf8bc832d3b77a1e49373352b3b2685fc0 (diff) | |
| download | rust-28162ad97024f470e107dd224f07f1d6ca0fa642.tar.gz rust-28162ad97024f470e107dd224f07f1d6ca0fa642.zip | |
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
