Add better hmap compacting
This commit is contained in:
parent
187883883b
commit
274d35ea5d
4 changed files with 103 additions and 50 deletions
|
|
@ -11,6 +11,8 @@ typedef struct {
|
|||
usize prime_idx;
|
||||
usize key_size;
|
||||
usize val_size;
|
||||
|
||||
usize tombstone_count;
|
||||
} HashMap;
|
||||
|
||||
void hmap_init(HashMap* hmap, usize key_size, usize val_size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue