by kryps · 11y ago · 0 comments
critbit trees degenerate badly if you store strings and their prefixes, e.g. storing a, aa, aaa, ...
Worst case data for a critbit tree is also worst case for any other kind of trie, and better than worst case for a classic hash (which is O(items in table) and can often be triggered by an adversary). Constants are different, though.