OOP-PHP applications are usually one class per file with conditional
loading. This does not play well with caching. I am working on gluing

Why wouldn't it play well with caching?

(a phing task will do this) so it can be opcode cached as one large
application binary. I will then compare the performance of both
apporaches, but I have a feeling that the "single binary" approach will
be faster. As APC will be part of PHP6, I think this approach could

I don't think "one binary" approach makes sense for PHP. PHP application is usually composed of many files, some of them are library files not used at all, some are rarely used, etc. Also, this approach does not allow to change individual files without having all the system lose performance significantly.

--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

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

Reply via email to