Re: [PHP-DEV] [RFC] Introduce Abstract Syntax Tree

[email protected] (Pierre Joye)
Newsgroups php.internals
Message-ID <CAEZPtU5sVFN62cQbsFfemKBF1iAu8c1pHAQX++vFRdhC-Prc8w@mail.gmail.com>
On Mon, Aug 18, 2014 at 9:52 AM, Sebastian Bergmann <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.