[PHP-DEV] Re: Constant propagation inside same compilation unit

2019-09-18 Thread Dmitry Stogov
On 9/18/19 7:18 PM, Nikita Popov wrote: > On Wed, Sep 18, 2019 at 5:10 PM Benjamin Coutu > wrote: > > Hello, > > During performance testing of the (awesome) PHP 7.4 preloading > feature I stumbled upon a lost opportunity I'd like to point out > (thou

[PHP-DEV] Re: Constant propagation inside same compilation unit

2019-09-18 Thread Nikita Popov
On Wed, Sep 18, 2019 at 5:10 PM Benjamin Coutu wrote: > Hello, > > During performance testing of the (awesome) PHP 7.4 preloading feature I > stumbled upon a lost opportunity I'd like to point out (though this has > nothing to do with preloading per se). > > Please consider the following snippet: