14% of cpu time was spent searching for the longest matching branch
Replacing the list of strings with a trie makes the lookups much faster, at the cost of some memory and some string copies
Replacing the list of strings with a trie makes the lookups much faster, at the cost of some memory and some string copies