|There's more than one way to do things|
Re: A more memory efficient storage structure?by JPaul (Hermit)
|on Dec 31, 2002 at 17:49 UTC ( #223400=note: print w/replies, xml )||Need Help??|
I grabbed Devel::Size, and according to it, each of the hashes is 6.1M in size.
'top' shows the memory usage at 18M, and I don't think the interface is using 6M of space... So I'm not entirely convinced thats quite correct. But it stills gives an idea of the inflation - 727k to 6.1M.
I've never been able to make BerkeleyDB install correctly (Out of two tries, I believe), so I'm not terribly interested in it out of previous predjudices, but I could certainly entertain using an ondisk DB... I can't imagine it'd be terribly quick for the lookups, but I'll never know until I try.
(My workstation runs Linux, if that tells anyone anything)
In Section Seekers of Perl Wisdom