before: 34.430 after: 20.126
do i need to say more?
(if it really works, which i haven't tested yet)
Made another fix (we had to take care of global variables being messed with by extensions).
PS: i really think that the vm should be generated by a script! looking at what makes most of the patch i really think that we're making hacking the engine more complex than needed.
I am not sure. There are advantages and disadvantages to both.
pre-processor vs. script
Advantage: Only maintain source and not script (which might be icky), no pre-build scripts (which might be a PITA on platforms like Windows), no script portability issues
Disadvantages: More magic in the source code itself, might be slightly harder to debug.
Frankly, I am not sure what's better. I think it might be a good idea to see what can be done with a script and then compare. Will look into it.
Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php