pub fn new(merge_fn: merge::MergeFn<K, V>) -> Self {
        LSMTree {
            data: RwLock::new(Inner {
                mutable_layer: skip_list_layer::SkipListLayer::new(SKIP_LIST_LAYER_ITEMS),
                layers: Vec::new(),
            }),
            merge_fn,
        }
    }
/// Creates a new empty tree.
Creates a new empty tree.
Creates a new empty tree .
pub fn new(merge_fn: merge::MergeFn<K, V>) -> Self {
        LSMTree {
            data: RwLock::new(Inner {
                mutable_layer: skip_list_layer::SkipListLayer::new(SKIP_LIST_LAYER_ITEMS),
                layers: Vec::new(),
            }),
            merge_fn,
        }
    }
pub fn new ( merge_fn : merge :: MergeFn < K , V > ) -> Self { LSMTree { data : RwLock :: new ( Inner { mutable_layer : skip_list_layer :: SkipListLayer :: new ( SKIP_LIST_LAYER_ITEMS ) , layers : Vec :: new ( ) , } ) , merge_fn , } }
Creates a new empty tree.
Creates a new empty tree .
merge_fn
merge::MergeFn<K, V>
merge_fn
merge::MergeFn<K, V>