in reply to Re: A memory efficient hash, trading off speed - does it already exist?
in thread A memory efficient hash, trading off speed - does it already exist?
BrowserUk suggests that Tie::SubstrHash be used as a potential solution...
I recommend that this solution not be considered. tie()'d objects have overhead. In the cheapest case, we would be replacing a small basic hash with less than 4 entries with a tied hash, and an attached blessed string reference. No gain would be realized, and performance would suffer.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: A memory efficient hash, trading off speed - does it already exist?
by BrowserUk (Patriarch) on Feb 04, 2003 at 11:22 UTC | |
by diotalevi (Canon) on Feb 04, 2003 at 15:46 UTC |