Re: Re: [DRAFT] [RFC] Function autoloading

From: Date: Fri, 30 Aug 2013 22:21:47 +0000
Subject: Re: Re: [DRAFT] [RFC] Function autoloading
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi!

> We got a performance win from exactly this at Facebook.  We have some
> extensions in HHVM to autoload that allowed us to remove almost all
> our *_once calls.

But autoloading does not remove require - you still have to load the
files. Only thing that can be removed is a non-loading require. Is it
that frequent that it had significant performance impact (given that
with opcode caching non-loading require is pretty much a couple of hash
lookups)?

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227


Thread (72 messages)

« previous php.internals (#68762) next »