From: "Ara.T.Howard" Date: 2004-06-30T08:22:53+09:00 Subject: Re: [ANN] arrayfields-3.0.0 On Wed, 30 Jun 2004, Kirk Haines wrote: > Okay, admittedly, sometimes I'm too dense for my own good, but I'm > confused. It looks to me like, internally, each array is using a hash to > keep track of the fields to indices mapping, and that hash is not shared > amongst arrays with the same set of fields. So you end up using more memory > using arrayfields for something like database result sets than if you just > used hashes. > > I put together a few simple little test programs to try it out, using > arrayfields and using hashes to store similar sets of data, and in practice > it looks like arrayfields uses almost 2x the amount of RAM for a given data > set, as well. Am I missing something, here? > > > Thanks, > > Kirk Haines not as dense as i am ;-) you are correct about the ram. i 'fixed' myself into this when i was making some updates for testing - let me have a look at it and post a fix.... -a -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | A flower falls, even though we love it; | and a weed grows, even though we do not love it. | --Dogen ===============================================================================