mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-25 13:24:22 +00:00
![]() The branchy Hoare partition `partition_equal` as part of `slice::sort_unstable` has a bug that makes it perform a comparison of the last element twice. Measuring inputs with a Zipfian distribution with characterizing exponent s == 1.0, yields a ~0.05% reduction in the total number of comparisons performed. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |