Skip to main content

get_height

Function get_height 

Source
pub fn get_height<TKey, TValue, TConfig>(
    btree: &BTree<TKey, TValue, TConfig>,
) -> usize
where TKey: Ord, TConfig: BTreeConfig,
Expand description

Returns the height of the B-tree.

Note: this function scans the entire tree recursively.