The Caching systems such as Zend Cache (not the Optimizer), MMCache,
APC, etc are expressly designed to store the tokenized version of the
PHP script to be executed.
Note that their REAL performance savings is actually in loading from
the hard drive into RAM, not actually the PHP tokenization.
Skipping a hard drive seek and read is probably at least 95% of the
savings, even in the longest real-world scripts.
Interesting. If PHP tokenization is such a small cost, what makes a
special caching system better than the OS for caching files in memory
after the first disk read?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php