rust/library/core
Lukas Bergdoll e501add1f9 Avoid unnecessary comparison in partition_equal
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.
2023-10-25 19:37:14 +02:00
..
benches fix 2023-07-23 09:58:31 +00:00
src Avoid unnecessary comparison in partition_equal 2023-10-25 19:37:14 +02:00
tests Rollup merge of #116714 - WaffleLapkin:order-the-order, r=joshtriplett 2023-10-24 19:29:54 +02:00
Cargo.toml Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00