Yes, I agree with Derickk that it's too soon to document.
In general the explanation is:
CALL - Uses function handlers for opcodes.
SWITCH - Uses switch() statement for opcode dispatchment
GOTO - Uses goto for opcode dispatchment (threaded opcodes architecture).

GOTO is usually (depends on CPU and compiler) faster than SWITCH which tends to be slightly faster than CALL.
CALL is default because it doesn't take very long to compile as opposed to the other two and in general the speed is quite close to the others.


Thanks for the explanation, Andi!

For a regular user, with a standard gcc compiler, should he choose the GOTO method or CALL?

Nuno

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to