|
|
|
|
|
by waterlaw
1435 days ago
|
|
> A Spellchecker Used to Be a Major Feat of Software Engineering > Fast forward to today. A program to load /usr/share/dict/words into a hash table is 3-5 lines of Perl or Python, depending on how terse you mind being. Looking up a word in this hash table dictionary is a trivial expression, one built into the language. And that's it. Sure, you could come up with some ways to decrease the load time or reduce the memory footprint, but that's icing and likely won't be needed. https://prog21.dadgum.com/29.html 5MB here. 5MB there. No one notices ;) |
|