in reply to Re: Re: Re: Slowness when inserting into pre-extended array
in thread Slowness when inserting into pre-extended array
And for sounding authoritative. I'm primarily older then many of my fellow Perl monks, but definitely not more experienced in the use of Perl. So:
Hashes are OK for any number of keys until you run out of memory Even if this wouldn't be the case, is there a better way to do it (without resorting to something like Judy)?
However, I think you're wrong with respect to point 3. On the one hand you're saying that the number of keys per bucket stays in the same range. Then how can there be a "worst case" scenario? If Perl would be able to always keep the number of keys per bucket roughly the same, how could there be a worst case scenario?
Liz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Slowness when inserting into pre-extended array
by tilly (Archbishop) on Jul 19, 2003 at 23:50 UTC | |
|
Re: Re: Re: Re: Re: Slowness when inserting into pre-extended array
by Elian (Parson) on Jul 20, 2003 at 15:18 UTC |