http://www.perlmonks.org?node_id=928886


in reply to Words in Words

While I'm not an expert on tries, there seems to be a lot of potential there for your stated problem. Give it a look.

Here's a trie implementation in Perl.


What can be asserted without proof can be dismissed without proof. - Christopher Hitchens