this is actually a relevant discussion for internals...

---------- Forwarded message ----------
From: Sterling Hughes <[EMAIL PROTECTED]>
Date: Wed, 8 Sep 2004 23:26:00 -0700
Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.h
zend_exceptions.c zend_execute.c zend_execute.h zend_execute_API.c
zend_opcode.c zend_vm.h zend_vm_handlers.h zend_vm_spec.h
To: Andi Gutmans <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]



>
>   Added files:
>     /ZendEngine2        zend_vm.h zend_vm_handlers.h zend_vm_spec.h
>
>   Modified files:
>     /ZendEngine2        zend_compile.h zend_exceptions.c zend_execute.c
>                         zend_execute.h zend_execute_API.c zend_opcode.c
>   Log:
>   - Some architectural changes:
>    a) We specialize opcodes according to op_type fields. Each opcode has to
>       be marked with which op_type's it uses.
>    b) We support different execution methods. Function handlers, switch()
>       and goto dispatching. goto seems to be the fastest but it really
>       depends on the compiler and how well it optimizes. I suggest playing
>       around with optimization flags.
>
>   - Warning: Things might break so keep us posted on how things are going.
>     (Dmitry, Andi)


How could someone like the APC optimizer now hook into this system and
add a new instruction without modifying the executor?

-Sterling

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

Reply via email to