John Williams wrote:
I think you are still overlooking the autovivification behavior. i.e. What is the difference between these:1) $a{1234567} = 1; 2) $a[1234567] = 1; Answer: #1 creates 1 element. #2 creates 1,234,567 elements!
Not currently: 2) does - generate a sparse hole between old size and up to ~index - generate one data chunk near index - store the PerlInt at index Reading non existent data in the hole generates then PerlUndef's on the fly.
~ John Williams
leo