Re: Zend Optimizer+ Source Code now available

From: Date: Thu, 14 Feb 2013 15:34:00 +0000
Subject: Re: Zend Optimizer+ Source Code now available
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-65831@lists.php.net to get a copy of this message
On Thu, Feb 14, 2013 at 7:21 PM, Zeev Suraski <zeev@zend.com> wrote: > O+ does perform some optimizations in addition to caching code, in a pretty > sophisticated manner actually (block optimizations). Optimizations - which > can be expensive to carry out - are definitely a good fit with an opcode > cache, that ensures that you wouldn't have to do these optimizations more > than once. I'm obviously subjective but I think the name Optimizer+ does a > good job at suggesting that it's both an Optimizer but also something else. > Perhaps we should call it OptiCache? :) > >> Questions (I haven't dug through the code): >> >> - What do CLI processes share? > > IIRC nothing, presently it's not very useful for CLI except for testing > (it'll only apply to a single run). I could be wrong though, Dmitry? Well, if it does block-level optimizations, that is already enough to make it useful for CLI-scripts, as even though caching is not relevant for long-running processes, optimizations should make things faster. Are optimizations documented? -- Alexey Zakhlestin, http://github.com/indeyets

« previous php.internals (#65831) next »