[TYPO3-core] hey lads, a bit of news from the internals
David Coallier
davidc at php.net
Tue Mar 25 15:26:45 CET 2008
On 25/03/2008, ries van Twisk <typo3 at rvt.dds.nl> wrote:
> Anything on what was changed to get this speed up??
> I would think Array handling... but that is just a wild guess....
>
We are working on a new language parser/scanner and are replacing the
old one with the new one made by Marcus Boerger (re2c scanner).
This improved the speed considerably. So yeah to give you a quick list:
. Replaced flex based scanner with re2c based scanner.
. Added garbage collector.
. Improved PHP binary size and startup speed with GCC4 visibility control.
. Improved engine stack implementation for better performance and stability.
. Improved memory usage by moving constants to read only memory.
. Changed exception handling. Now each op_array doesn't contain
ZEND_HANDLE_EXCEPTION opcode in the end.
. Optimized require_once() and include_once() by eliminating fopen(3) on
second usage.
. Optimized ZEND_FETCH_CLASS + ZEND_ADD_INTERFACE into single
ZEND_ADD_INTERFACE opcode
and a whole bunch of performance fixes in many overused functions.
Enjoy all :)
D
More information about the TYPO3-team-core
mailing list