On Fri, 2003-10-24 at 04:48, Ian Truelsen wrote:
> Is there an upper limit to the number of elements that can be in an
> array? If so, what is that limit?

I think it is only limitted by your computer's memory or the size of a
long integer (2.4 billion or so). I did a test one day to see just how
much a lookup into a configuration array would cost, and it was
negligible both for loading time and access time on a 10000 entry array.
Load time increases a bit on a 1 million entry array, but lookup was
still extremely fast, which is fairly expected with any decent unique
key lookup implementation.

Cheers,
ROb.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to