4 ms·
Fun fact: the edits function in the newer chapter doesn't find quite the same edits as the older spelling corrector. (I found one or two differences in testing
by abecedarius 13y ago
Fun fact: the edits function in the newer chapter doesn't find quite the same edits as the older spelling corrector. (I found one or two differences in testing on /usr/share/dict/words -- originally with the code I'm acknowledged for at the end, but I think I checked it was still there in the chapter's version of the code. But since the difference is so rare and correctness is probabilistic anyway, it's kind of nitpicky to call it a bug.)