Michael Lazzaro wrote:

2) There is NO platform-dependent maximum array size. If it's not a sparse array, you'll run out of memory long before you run out of indexes, but using bigints as indexes for sparse arrays is OK.

Current: array size is limited to $arch's +INTVAL (2^31-1 / 2^63-1).
Arrays get sparse by default if you set arrays elements with indices distance > ~3K.

IMHO if you need bigger indices use a hash.


MikeL
leo

Reply via email to