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

Method items_fast

rust/src/iteration.rs:67–69  ·  view source on GitHub ↗

Returns a fast iterator over all key-value pairs using unsafe arena access. This provides better performance by skipping bounds checks. # Safety This is safe to use as long as the tree structure is valid and no concurrent modifications occur during iteration.

(&self)

Source from the content-addressed store, hash-verified

65 /// This is safe to use as long as the tree structure is valid and no concurrent
66 /// modifications occur during iteration.
67 pub fn items_fast(&self) -> FastItemIterator<'_, K, V> {
68 FastItemIterator::new(self)
69 }
70
71 /// Returns an iterator over all keys in sorted order.
72 pub fn keys(&self) -> KeyIterator<'_, K, V> {

Callers 3

mainFunction · 0.80

Calls

no outgoing calls