At least 2% speedup on attached script. Thanks. Dmitry.
> -----Original Message----- > From: Stanislav Malyshev [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 17, 2007 8:52 PM > To: Dmitry Stogov > Cc: 'Matt Wilmas'; internals@lists.php.net; 'Andi Gutmans' > Subject: Re: [PHP-DEV] [PATCH] Major optimization for > heredocs/interpolated strings > > > > 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. > > OK, I understand that, the question is can we see any > difference? We are > doing quite major overhaul of the parser, so there should be a reason > for it - like the code gets to be that and that faster, etc. > Is there a > way to see it? > > > You can see a small difference even on Zend/bench.php. > > Actually I don't :) Not beyond the margin of error at least. I'm not > very surprised since bench.php doesn't do much with > interpolated strings > as I see - but I would like to verify that this patch is > really a "major > optimization" ;) > > -- > Stanislav Malyshev, Zend Products Engineer > [EMAIL PROTECTED] http://www.zend.com/ >
bench2.php
Description: application/httpd-php
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php