Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Say hello to my blazingly fast new O(N^2) algorithm. ๐๐ป๐ญ๐ง ๐ก๐จ๐ปโ๐ป๐โฆ๐ฎโฉ๐๐ปโโ๏ธ Old/tired: - Took 1/2 hour to churn through the 4,595 5-letter words in /usr/share/dict/american-english, on one core of my i7-8665U, even after some tricky micro-optimization for how to store the guesses. - Took many hours for the 12,972 5-letter words in the CSW2019 (Collins Scrabble Wordlist 2019). New/wired: - Takes <1 second to for /u/s/d/american-english - Takes <3 seconds for CSW2019
- Loading branch information
Showing
1 changed file
with
62 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters