in reply to Re^5: A memory efficient hash, trading off speed - does it already exist?
in thread A memory efficient hash, trading off speed - does it already exist?
So where is the advantage of that over what I chose to use?
I use a single hash (As opposed to two - the lookup hash and the one with values), and when I'm doing accesses I throw it into a temporary hash for quicker lookups on multiple hits to the same keyword.$hash{"Keyword"} = "Symbol_1 \x255 5 \O Symbol_2 \x255 4";
JP,
-- Alexander Widdlemouse undid his bellybutton and his bum dropped off --
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: A memory efficient hash, trading off speed - does it already exist?
by Aristotle (Chancellor) on Feb 07, 2003 at 20:29 UTC |
In Section
Seekers of Perl Wisdom