On Fri, Nov 7, 2008 at 1:09 PM, Matthew Weier O'Phinney
<[EMAIL PROTECTED]> wrote:
> -- Michael Depetrillo <[EMAIL PROTECTED]> wrote
> (on Thursday, 06 November 2008, 09:33 PM -0800):
>> Does using autoload improve or reduce performance?
>>
>> I thought I saw an email by you where you stated in did.
>
> It improves performance, particularly when you strip out the
> require_once calls within Zend Framework (which you can do with a simple
> one-liner using find and sed).

Just to add to this.

Yes, and also no. Zend_Loader by itself is faster than all the
require_once in the framework. However, it can be simplified still to
e.g. using include vs. include_once since autoload is only invoked
when the class is not found thus making include_once redundant.

Till

Reply via email to