os-rust/library/alloc/benches
bors a409a233e0 Auto merge of #75974 - SkiFire13:peekmut-opt-sift, r=LukasKalbertodt
Avoid useless sift_down when std::collections::binary_heap::PeekMut is never mutably dereferenced

If `deref_mut` is never called then it's not possible for the element to be mutated without internal mutability, meaning there's no need to call `sift_down`.

This could be a little improvement in cases where you want to mutate the biggest element of the heap only if it satisfies a certain predicate that needs only read access to the element.
2020-09-21 05:31:01 +00:00
..
btree More benchmarks of BTreeMap mutation 2020-08-01 20:23:13 +02:00
binary_heap.rs Added benchmarks for BinaryHeap 2020-09-20 01:12:02 +02:00
lib.rs Added benchmarks for BinaryHeap 2020-09-20 01:12:02 +02:00
linked_list.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
slice.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
str.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
string.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
vec.rs Clean up vec benches bench_in_place style 2020-09-06 12:00:22 +08:00
vec_deque.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
vec_deque_append.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00