in reply to Re: Re: Fast wordlist lookup for game
in thread Fast wordlist lookup for game
Use a hash to minimize the search time. Keep the hash on disk to minimize the memory usage (and start-up time if this is a CGI app.) I.e. Use a DBM. For speed, you'll probably find BerkeleyDB is best.
-j-sauoq "My two cents aren't worth a dime.";
|
|---|