rust/library/alloc
bors cd5a90fb14 Auto merge of #86031 - ssomers:btree_lazy_iterator, r=Mark-Simulacrum
BTree: lazily locate leaves in rangeless iterators

BTree iterators always locate both the first and last leaf edge and often only need either one, i.e., whenever they are traversed in a single direction, like in for-loops and in the common use of `iter().next()` or `iter().next_back()` to retrieve the first or last key/value-pair (#62924). It's fairly easy to avoid because the iterators with this disadvantage already are quite separate from other iterators.

r? `@Mark-Simulacrum`
2021-08-01 21:45:30 +00:00
..
benches Fix may not to appropriate might not or must not 2021-07-29 01:15:20 -04:00
src Auto merge of #86031 - ssomers:btree_lazy_iterator, r=Mark-Simulacrum 2021-08-01 21:45:30 +00:00
tests Fix may not to appropriate might not or must not 2021-07-29 01:15:20 -04:00
Cargo.toml Add support for const operands and options to global_asm! 2021-05-13 22:31:57 +01:00