Another approach would be to use a DBM file. You could use say the first three letters of the words as the key, so $dbm{aba} might contain 'abash abate ...'. It would be a less complex solution than mysql and should be faster too. Look at DB_File, GDBM_File, NDBM_File etc.
In reply to Re: Fast wordlist lookup for game
by grantm
in thread Fast wordlist lookup for game
by jerrygarciuh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |