Re: Proposing a new extension : Autoload
| From: | Pedram Nimreezi | Date: | Wed, 12 Dec 2007 18:09:38 +0000 |
| Subject: | Re: Proposing a new extension : Autoload | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-4984@lists.php.net to get a copy of this message | ||
On Dec 12, 2007 1:05 PM, Stanislav Malyshev <stas@zend.com> wrote:
> >> include/require = SLOW, include_once,require_once = VERY SLOW
>
> I wouldn't say "VERY SLOW" - it has like 1 additional system call, if
> you aren't using bytecode cache. That said, feel free to contradict me
> with a good benchmark :)
>
Sure, but the problem usually only surfaces with opcode accelerators, it's
not that it's an additional call, it's that it's a big sign that says
(DON'T OPTIMIZE BEYOND HERE)
arguably, that's either because of a design flaw, intentional, or
because of time constraint...
Whatever, this is probably just something that's going to be fixed in PHP 6...
> --
> Stanislav Malyshev, Zend Software Architect
> stas@zend.com http://www.zend.com/
> (408)253-8829 MSN: stas@zend.com
>
> --
>
> PECL development discussion Mailing List (http://pecl.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
~
Pedram Nimreezi
Senior Programmer / Frameworkologist
mc@majorcomputing.com | pedram@5g.com
--
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete
fools." - Douglas Adams