feat(lsm): implement a simple trie remove
This commit is contained in:
parent
682f422e3c
commit
6938c29725
5 changed files with 147 additions and 34 deletions
|
|
@ -20,6 +20,16 @@ lsm_error lsm_bt_init(lsm_bt **ptr);
|
|||
*/
|
||||
void lsm_bt_free(lsm_bt *bt);
|
||||
|
||||
/**
|
||||
* Remove the binary tree's entire contents, but keep the struct allocated.
|
||||
*/
|
||||
void lsm_bt_clear(lsm_bt *bt);
|
||||
|
||||
/**
|
||||
* Return the size of the binary tree
|
||||
*/
|
||||
uint64_t lsm_bt_size(lsm_bt *bt);
|
||||
|
||||
/**
|
||||
* Search for the data stored behind the given key.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue