rust/library/alloc/benches
bors 4507fdaaa2 Auto merge of #106241 - Sp00ph:vec_deque_iter_methods, r=the8472
Implement more methods for `vec_deque::IntoIter`

This implements a couple `Iterator` methods on `vec_deque::IntoIter` (`(try_)fold`, `(try_)rfold` `advance_(back_)by`, `next_chunk`, `count` and `last`) to allow these to be more efficient than their default implementations, also allowing many other `Iterator` methods that use these under the hood to take advantage of these manual implementations. `vec::IntoIter` has similar implementations for many of these methods. This PR does not yet implement `TrustedRandomAccess` and friends, as I'm not very familiar with the required safety guarantees.

r? `@the8472` (since you also took over my last PR)
2023-02-18 20:12:35 +00:00
..
btree Avoid use of rand::thread_rng in stdlib benchmarks 2022-05-02 00:08:21 -07:00
binary_heap.rs Avoid use of rand::thread_rng in stdlib benchmarks 2022-05-02 00:08:21 -07:00
lib.rs enable fuzzy_provenance_casts lint in liballoc 2022-11-20 19:12:18 +01:00
linked_list.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
slice.rs Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00
str.rs update str.contains benchmarks 2022-11-14 23:03:16 +01:00
string.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
vec_deque.rs Add vec_deque::IntoIter benchmarks 2023-01-18 00:33:05 +01:00
vec.rs Optimized vec::IntoIter::next_chunk impl 2022-07-26 20:31:43 +02:00