On 31.03.2009, at 20:36, Dmitry Stogov wrote:
Hi Basant,
I've updated you patch for 5.3 (attached, don't forget to regenerate
zend_vm_execute.h). 5.2 is closed for such changes anyway and I
don't think the patch should be applied into 5.3 too, because it is
in RC stage.
I got ~10% speed-up on very synthetic benchmarks (b.php attached).
The speed difference on real-life applications without opcode caches
is invisible. I wasn't able to test it with caches.
In general the idea is very interesting, but as I mentioned before I
don't like extension of zend_opcode and tricky usage of object
handlers. It should be done in some more general way.
Anyway, please check if my changes didn't make your patch slower.
May be someone would like to play with patch and make it better...
Ok, stuff like this indeed too late for 5.3, so please if at all ..
work on this in HEAD.
regards,
Lukas Kahwe Smith
m...@pooteeweet.org
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php