insert loops at most depth_limit times trying to insert a hash at various locations in the table via a variant of the Cuckoo Algorithm with eight hash locations.
Declared in <cuckoocache.h>
void
insert(Element e);
It drops the last tried element if it runs out of depth before encountering an open slot.
Thus:
` insert(x); return contains(x, false); `
is not guaranteed to return true.
| Name | Description |
|---|---|
| e | the element to insert |