At 02:04 PM 9/9/2004 -0400, John Coggeshall wrote:
Personally I would like to see the hooks for op-codes stay in place, I
think they offer a lot of possibilities for extensions.  Andi, what do
you mean "create the handler execution architecture"? I'm a little
confused to what you are referring to.

I mean that what we have to day is the function handler dispatch architecture (i.e. what it is in PHP 5.0.x). In PHP 4, we had switch().
Again, I think the opcode hook could be solved for people who want to do so by having such a version floating around in the address space for extensions that want to use it. It's a bit more memory but it's memory that should be shared.


PS -- I hated the switch() method ;)

It was definitely uglier and that's why I made the change but in many cases the "goto and/or switch" dispatch methods are faster.


Andi

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to