[patch] Late static bindings (LSB)
| From: | Etienne Kneuss | Date: | Fri, 24 Aug 2007 13:18:41 +0000 |
| Subject: | [patch] Late static bindings (LSB) | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-31896@lists.php.net to get a copy of this message | ||
Hi internals,
here is a patch that implements Late static bindinds in a way that
minimizes the performance hits that were feared.
There is no significant slowdown or memory usage increase when running
Zend/bench.php, which I assume is a
good enough bench for that kind of matter, as it involves a stupid
amount of (recursive) function calls.
You can also find the patch here:
http://patches.colder.ch/Zend/late_static_bindings_take6.patch?markup
Here is a document that describes its usage:
http://colder.ch/news/08-24-2007/28/late-static-bindings-expl.html
Regards,
--
Etienne Kneuss
http://www.colder.ch
Men never do evil so completely and cheerfully as
when they do it from a religious conviction.
-- Pascal