rust/compiler/rustc_mir_build
Nicholas Nethercote c4cd04480b sort_candidates: avoid the second comparison if possible.
This is a performance win for `unicode-normalization`.

The commit also removes the closure, which isn't necessary. And
reformulates the comparison into a form I find easier to read.
2022-06-16 10:52:19 +10:00
..
src sort_candidates: avoid the second comparison if possible. 2022-06-16 10:52:19 +10:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00