The patch mainly improves not the parser, but generated code. It builds near optimal ZEND_ADD_STRING, ZEND_ADD_VAR sequence for quoted strings and heredoc. You can see a small difference even on Zend/bench.php.
Thanks. Dmitry. > -----Original Message----- > From: Stanislav Malyshev [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 17, 2007 12:03 AM > To: Matt Wilmas > Cc: internals@lists.php.net; Dmitry Stogov; 'Andi Gutmans' > Subject: Re: [PHP-DEV] [PATCH] Major optimization for > heredocs/interpolated strings > > > Do we have any good performance testcases for the patch that > show how it > improves the parser? > > > The updated 5.2 patch is at the same address, > > http://realplain.com/php/scanner_optimizations_5_2.diff, and the > > original was moved to > > http://realplain.com/php/scanner_optimizations_5_2-v1.diff > > > -- > Stanislav Malyshev, Zend Products Engineer > [EMAIL PROTECTED] http://www.zend.com/ > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php