AW: AW: AW: [PHP-DEV] arrays
| From: | Harald Radi | Date: | Tue, 15 May 2001 00:10:47 +0000 |
| Subject: | AW: AW: AW: [PHP-DEV] arrays | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-55263@lists.php.net to get a copy of this message | ||
instead of just setting a flag you could implement a assoc-entry counter
(imo performance is the same)
that you could decrement if an associative key gets deleted.
harald.
> -----Ursprüngliche Nachricht-----
> Von: Zeev Suraski [mailto:zeev@zend.com]
> Gesendet: Dienstag, 15. Mai 2001 01:52
> An: Harald Radi
> Cc: Stig Sæther Bakken; Andrei Zmievski; php-dev@lists.php.net
> Betreff: Re: AW: AW: [PHP-DEV] arrays
>
>
> Ok, if we humor ourselves with this feature... What kind of
> behavior would
> you expect if a key gets deleted, and there are no longer associative
> members in the array?
>
> Zeev
>
> At 02:42 15/5/2001, Harald Radi wrote:
> > > Any XML-RPC implementation would benefit from seeing easily whether a
> > > value is a continous pure numeric array, associative array or a mix.
> > > It should be a trivial fix, and the performance difference is
> > > negligible.
> > >
> > > - Stig
> > >
> > > [Zeev Suraski <zeev@zend.com>]
> > > > Why do you need it? Nobody ever needed it until now.
> >
> >.. it seems noone dared to complain until now .. :)
>
> --
> Zeev Suraski <zeev@zend.com>
> CTO & co-founder, Zend Technologies Ltd.
> http://www.zend.com/
>
>