feat: add some more tests; some optimisations

This commit is contained in:
Jef Roosens 2022-11-29 20:59:28 +01:00
parent e1e3d7cb46
commit f9a5fc14e5
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
7 changed files with 186 additions and 24 deletions

View file

@ -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.
*