Re: RE: Optimizer discussion
| From: | Ilia Alshanetsky | Date: | Sun, 07 Jun 2009 13:54:18 +0000 |
| Subject: | Re: RE: Optimizer discussion | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44199@lists.php.net to get a copy of this message | ||
On 6-Jun-09, at 9:28 PM, Paul Biggar wrote:
On Fri, Jun 5, 2009 at 11:23 PM, Nuno Lopes<nlopess@php.net> wrote:The existing optimizer already does constant folding... Ilia AlshanetskyI'm happy there's some interest in a PHP optimizer :) I agree with Paul that PECL's optimizer duplicates way too much stuff from the Zend engine, which is not practic nor maintainable. (compare for example with the simple constant folder I implemented some years ago: http://web.ist.utl.pt/nuno.lopes/zend_constant_folding.txt).This is certainly a much better demonstration of how the optimizer should work.