in reply to Best way to look-up a string amongst 100 million of its peers
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Best way to look-up a string amongst 100 million of its peers
by Anonymous Monk on Mar 26, 2008 at 06:42 UTC | |
by BrowserUk (Patriarch) on Mar 26, 2008 at 07:30 UTC |