[Zeev Suraski <[EMAIL PROTECTED]>]
> At 13:34 16/5/2001, Stig Sæther Bakken wrote:
> >Acknowledged. But IMO the arrays will be either clearly continous or
> >clearly associative/non-continous in 99.2% of the cases (Zeev
> >statistics applied).
>
> I never claim to be accurate, I usually say 99% :)
I don't either, my random generator just has a higher resolution. :-)
> > I think it's fine to keep treating an array as
> >non-continous if there has ever been holes or string keys in it.
>
> I actually think that arrays with both numeric and associative indices
> are quite common. Lots of apps I've seen use them, as well as some of
> PHP's internal functions.
You're probably right. But the question is really how often arrays
change between being continous and associative/mixed/non-continous?
- Stig
--
Stig Sæther Bakken <[EMAIL PROTECTED]>
Fast Search & Transfer ASA, Trondheim, Norway
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]