feat: add some more tests; some optimisations
This commit is contained in:
parent
e1e3d7cb46
commit
f9a5fc14e5
7 changed files with 186 additions and 24 deletions
|
|
@ -84,6 +84,8 @@ Entry *trie_search(Trie *trie, const char *key);
|
|||
*/
|
||||
bool trie_add(Trie *trie, const char *key, Entry *entry);
|
||||
|
||||
bool trie_add_no_lock(Trie *trie, const char *key, Entry *entry);
|
||||
|
||||
/**
|
||||
* Add an entry by generating a random string as the key.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue