diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-06-08 14:49:32 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-06-16 10:52:19 +1000 |
| commit | 7e4ec35d0cc56ac3016e98909aad8688516a43f8 (patch) | |
| tree | 9688a4c16c781b5fc9c6f3f90b1f366b1d1b4216 /src/test/codegen/src-hash-algorithm | |
| parent | ca983054e19afd74d63c3ed37997f3bf30fe85d0 (diff) | |
| download | rust-7e4ec35d0cc56ac3016e98909aad8688516a43f8.tar.gz rust-7e4ec35d0cc56ac3016e98909aad8688516a43f8.zip | |
const_range_contains: avoid the second comparison if possible.
This is a performance win for `unicode-normalization`. Also, I find the new formulation easier to read.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
