Skip to content
Snippets Groups Projects
Verified Commit 95fc54da authored by David Mehren's avatar David Mehren
Browse files

[BPTree] Remove stub_create()

parent acf9b1f0
Branches
No related tags found
No related merge requests found
...@@ -177,17 +177,6 @@ impl BPTree { ...@@ -177,17 +177,6 @@ impl BPTree {
Ok((self.minmax.find_close(index)? - index + 1) / 2) Ok((self.minmax.find_close(index)? - index + 1) / 2)
} }
/// Returns a () - BPTree
///
pub fn stub_create() -> Self {
let bitvec: BitVec<u8> = bit_vec![true, false];
Self {
rankselect: RankSelect::new(bitvec.clone(), 1),
minmax: MinMax::new(bitvec.clone(), 1024),
bits: bitvec,
}
}
/// Returns a BPTree from a given BitVec /// Returns a BPTree from a given BitVec
/// # Arguments /// # Arguments
/// * `bitvec` The BitVec for the specified BPTree /// * `bitvec` The BitVec for the specified BPTree
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment