in reply to Re: constructing large hashes
in thread constructing large hashes

Hmmm, after hearing the responses above, I bet that the memory differences come from both a) floats are larger than short strings and b) there is more structure involved in this hash, which is what is causing the faster lookup times.

Also, you might want to correct the labels in your benchmarks, lest we be led astray!

Thanks!
    Dean


If we didn't reinvent the wheel, we wouldn't have rollerblades.

Replies are listed 'Best First'.
Re^3: constructing large hashes
by Aristotle (Chancellor) on Oct 01, 2002 at 00:35 UTC
    What the.. I must have been half asleep already. Sorry. Fixed it, and now I'm off to bed. Thanks for the wrist slap.

    Makeshifts last the longest.