in reply to Re^2: I need speed...
in thread I need speed...

Good point. I've always found BerkeleyDB to be more than sufficient for anything like this. I'd recommend it over most of the other dbmish inplementations.

-Blake

Replies are listed 'Best First'.
Re: Re: Re: Re: I need speed...
by perrin (Chancellor) on Oct 08, 2001 at 00:27 UTC
    BerkeleyDB is good if you can use the BerkeleyDB module with it's advanced locking interface, but for most things with short keys and short values SDBM_File is much faster, not to mention much easier to use. This application looks like an ideal fit for it.
      He mentioned potentially hundreds of thousands of cached IDs.
        I've never heard of any limitations on number of keys with SDBM_File on Unix, only on the size of key and value data.