Re: [RFC] Introduce Abstract Syntax Tree
| From: | Pierre Joye | Date: | Mon, 18 Aug 2014 08:01:28 +0000 |
| Subject: | Re: [RFC] Introduce Abstract Syntax Tree | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76631@lists.php.net to get a copy of this message | ||
On Mon, Aug 18, 2014 at 9:52 AM, Sebastian Bergmann <sebastian@php.net> wrote:
> Am 18.08.2014 um 09:32 schrieb Dmitry Stogov:
>> Can OPcahce always keep AST in shared memory and don't copy it into
>> process memory on each request? (ext/opcache/zend_accelerator_util_funcs.c)
>
> Why would the AST need to be cached?
I can imagine optimizations happening during the cache lifetime and
not only right on the 1st request/compilation. Having the AST at hand
can be handy.
Cheers,
--
Pierre
@pierrejoye | http://www.libgd.org