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


in reply to Re: Longest String Matching
in thread Longest String Matching

I do not think it can get much better. My proposal is not very useful for large dictionaries...