RE: [PHP4BETA] Suggestion to zend-api: some lookahead could make functions callsfaster!
| From: | Samuel Liddicott | Date: | Tue, 16 Nov 1999 17:19:35 +0000 |
| Subject: | RE: [PHP4BETA] Suggestion to zend-api: some lookahead could make functions callsfaster! | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6312@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Thies C. Arntzen [mailto:thies@digicol.de]
> Sent: Monday, November 15, 1999 06:33 PM
> To: Zeev Suraski; Andi Gutmans
> Cc: php4beta@lists.php.net
> Subject: [PHP4BETA] Suggestion to zend-api: some lookahead could make
> functions callsfaster!
>
> i'd also like a new set of first(), current(), next() etc functions that
> return a reference to the corresponding array element instead of a copy -
> something like r_first() would be ugly - how about &first()?
Yes. As I say often I hate the behind the scenes copying. It makes
somethings hard to do.
Sam