Something like DBM::Deep or even plain old DB_File should be able to handle this pretty well. Read the list in once, create the hash on disk, and then you can query it fairly quickly without ever having to read the original list again.
In reply to Re: Best way to look-up a string amongst 100 million of its peers
by kyle
in thread Best way to look-up a string amongst 100 million of its peers
by anson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |