in reply to Re: Re: A memory efficient hash, trading off speed - does it already exist?
in thread A memory efficient hash, trading off speed - does it already exist?
I have DBM files with many millions of keys, and fetches are still lightning fast.
Considering it's probably about 4 lines worth of code to try, give it a shot :-)
I don't think it's even worth trying to draw conclusions about how fast a DBM file access will be by looking at the slowdown of a swapping process. Apples and Oranges.
|
|---|