2013/8/31 Stas Malyshev <smalys...@sugarcrm.com>

> 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.


But it removes many many 'require_once's.


> 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)?
>

Those, who doesn't wrap anything in classes, can see this very frequently.


>
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
github.com/KingCrunch

Reply via email to