trie_add and trie_remove allow you to
add or remove entries from tries, respectively.
trie_add(trie, keys, values)
trie_remove(trie, keys)a trie object created with trie
a character vector containing the keys of the entries to add (or remove). Entries with NA keys will not be added.
an atomic vector, matching the type of the trie, containing the values of the entries to add. Entries with NA values will not be added.
nothing; the trie is modified in-place
trie for creating tries in the first place.