Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VecDeque::partition_point
checks first element in back
slice only…
… once I noticed that the first element of the `back` slice is potentially checked twice for the `partition_point` method, first in an if-condition and second inside the respective body. In this change, the back slice is reduced by the first element and this offset is added to the result. I am not sure how to trigger benchmarks for this, I assume doing this PR is the way to go for bors. Please tell me if this is not how pull requests should be done.
- Loading branch information