RE: [PHP4BETA] Suggestion to zend-api: some lookahead could make functions callsfaster!

From: Date: Tue, 16 Nov 1999 20:17:27 +0000
Subject: RE: [PHP4BETA] Suggestion to zend-api: some lookahead could make functions callsfaster!
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-6318@lists.php.net to get a copy of this message
Ignore that last letter... At 22:13 16/11/1999 , Zeev Suraski wrote:
At 19:19 16/11/1999 , Samuel Liddicott wrote: -----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.
Thies is only talking about performance issues, not functionality... How does this behind-the-scenes copying make some things hard to do? It shouldn't be detectable by the user at all. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/
-- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.version4 (#6318) next »