Re: ZEND_ADD_STRING patch
| From: | Derick Rethans | Date: | Sun, 10 Nov 2002 22:16:05 +0000 |
| Subject: | Re: ZEND_ADD_STRING patch | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90740@lists.php.net to get a copy of this message | ||
On Sun, 10 Nov 2002, 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.
hmm, your MUA is getting senile :) no attachment...
Derick
--
---------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions
--------------[ if you hold a unix shell to your ear, do you hear the c? ]-