Re: ZEND_ADD_STRING patch

From: Date: Sun, 10 Nov 2002 22:09:44 +0000
Subject: Re: ZEND_ADD_STRING patch
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-90741@lists.php.net to get a copy of this message
On Sunday, November 10, 2002, at 05:06 PM, George Schlossnagle wrote:
For those who came to Dan & my or Derick's talk at the Int. PHP Conference, we both covered the bad inefficiency in the parser that results in strings with variables in them being tokenized on whitespace. This results in a huge number of unnecessary opcodes in strings. Attached (hopefully, as my new MUA seems to be fickle) is a first shot at a fix to the parser to keep this from happening, so that you don't need an optimizer to clear up this issue. I've tested this locally. It still introduces a single unnecessary opcode after variable in certain cases, but it works for me. George -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.dev (#90741) next »