constant folding optimization
| From: | Nuno Lopes | Date: | Sat, 08 Sep 2007 11:18:43 +0000 |
| Subject: | constant folding optimization | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-32113@lists.php.net to get a copy of this message | ||
Hi,
I made a patch to implement constant folding optimization in the Zend engine.
The patch is available at: http://web.ist.utl.pt/nuno.lopes/zend_constant_folding.txt
Please review & commit.
Regards,
Nuno
P.S.: 'make test' shows 2 regressions with this patch (tests/run-test/test005.phpt & tests/run-test/test008a.phpt). they appear because of the "division by zero" warning. This problem still needs to be fixed before commiting the patch.