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

Method binary_search_keys

rust/src/node.rs:243–248  ·  view source on GitHub ↗
(&self, key: &K)

Source from the content-addressed store, hash-verified

241 /// Perform binary search on keys.
242 #[inline]
243 pub fn binary_search_keys(&self, key: &K) -> Result<usize, usize>
244 where
245 K: Ord,
246 {
247 self.keys.binary_search(key)
248 }
249
250 /// Consume the node and return the keys and values as iterators.
251 pub fn into_keys_values(self) -> (impl Iterator<Item = K>, impl Iterator<Item = V>) {

Callers 6

find_leaf_for_keyMethod · 0.80
getMethod · 0.80
get_mutMethod · 0.80
insertMethod · 0.80
insert_into_leafMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected