Fast trie implementations.