matthewhudson/word-generator — pull request #1 by timhuff (2012-10-28 18:57:16+00:00)
Title: I implemented the data structure recommended on reddit.

It's the data structure described here: http://blog.notdot.net/2007/10/Damn-Cool-Algorithms-Part-3-Anagram-Trees

Lookup for the test case "matthew" used to take around 400ms. It now takes around 4ms. Should improve the performance of your project. I hope you like it.