MCPcopy Create free account
hub / github.com/KentBeck/BPlusTree3 / RangeIterator

Class RangeIterator

rust/src/iteration.rs:45–49  ·  view source on GitHub ↗

Optimized iterator over a range of key-value pairs in the B+ tree. Uses tree navigation to find start, then linked list traversal for efficiency.

Source from the content-addressed store, hash-verified

43/// Optimized iterator over a range of key-value pairs in the B+ tree.
44/// Uses tree navigation to find start, then linked list traversal for efficiency.
45pub struct RangeIterator<'a, K, V> {
46 iterator: Option<ItemIterator<'a, K, V>>,
47 skip_first: bool,
48 first_key: Option<K>,
49}
50
51// ============================================================================
52// BPLUSTREE ITERATOR METHODS

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected