RE: [PHP-DEV] Patch for opcode caches
| From: | Dmitry Stogov | Date: | Fri, 14 Mar 2008 16:08:18 +0000 |
| Subject: | RE: [PHP-DEV] Patch for opcode caches | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-36141@lists.php.net to get a copy of this message | ||
> I do not want to remove early binding. In fact I always
> wanted to have early binding as much as possible. Because
> that is faster and makes compiler caches easier. So why slow
> down stuff? A Compiler cache wants everythign as static as
> possible which means a compiler cache wants early binding.
> This is also faster. So what are you proposing here?
As I already explained, early binding may not work for cached code,
because of cross file dependencies.
My patch allows to delay early binding from file-compile-time to
file-load-from-cache-time.
Thanks. Dmitry.