RE: [PHP-DEV] OPcache optimizer improvement in PHP-5.5?

From: Date: Wed, 10 Apr 2013 13:22:14 +0000
Subject: RE: [PHP-DEV] OPcache optimizer improvement in PHP-5.5?
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-67028@lists.php.net to get a copy of this message
> If applying optimizations in multiple passes would be a problem for speed, > especially on the first request, then maybe a way to solve this would be > to have > a configurable variable like: opcache.passes which is between 1 and 10 > (lets say) > and then have the engine do something like > this: My gut/educated guess is that in fact it's not going to be a problem with the kinds of optimizations that are practical for our execution engine (our ability to be ultra-creative with optimizations is very limited, compared to say gcc). I'd defer solutions to that problem until we actually see that it's a real problem to begin with. Generally, the book-keeping involved with selectively and intelligently applying optimizations is probably going to be more costly than doing them in the first place - but that obviously depends on the nature of optimizations we'll come up with. Zeev

« previous php.internals (#67028) next »