in reply to A memory efficient hash, trading off speed - does it already exist?
I am not an expert on memory mgmt, but I know there is such a thing as pseudo hashes, which are in fact just arrays, where the first item is a hash that performs the indexing.
They are not that flexible as normal hashes, but I think they have a large memory win against normal hashes (although I haven't tested this).
It is worth checking it out, espacially with the fields pragma.
---------------------------
Dr. Mark Ceulemans
Senior Consultant
IT Masters, Belgium
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: A memory efficient hash, trading off speed - does it already exist?
by nothingmuch (Priest) on Feb 05, 2003 at 14:30 UTC |