s-zhang / puzzlehunt-tools

MIT License
2 stars 1 forks source link

Precompute word ladder adjacencies #27

Open naarcini opened 6 years ago

naarcini commented 6 years ago

In ladder.py, we currently cache all adjacent words when looking up a word ladder. We could save time if we just precompute all adjacent words and look it up in that version of the dictionary.