mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-22 21:44:44 +00:00
684ca335d5
Integrate binary search codes of binary_search_by and partition_point For now partition_point has own binary search code piece. It is because binary_search_by had called the comparer more times and the author (=me) wanted to avoid it. However, now binary_search_by uses the comparer minimum times. (#74024) So it's time to integrate them. The appearance of the codes are a bit different but both use completely same logic. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |