Re: Missing reflection info about strict types?
| From: | Nicolas Grekas | Date: | Mon, 05 Dec 2016 14:54:58 +0000 |
| Subject: | Re: Missing reflection info about strict types? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-97286@lists.php.net to get a copy of this message | ||
Hello,
back on this topic:
2016-09-08 6:51 GMT+02:00 Rasmus Lerdorf <rasmus@lerdorf.com>:
> On Sep 5, 2016, at 13:13, Nicolas Grekas <nicolas.grekas@gmail.com> wrote:
> >
> > It's not specifically me but Symfony's ClassCollectionLoader::load()
> > method, which generates a single file with common classes inlined for
> > faster bootstrapping (the perf gain is objectively measurable).
>
> I have a hard time believing concatenating files is measurably faster with
> PHP 7 and a well-configured opcache.
>
It took some time to confirm, but we're going to deprecate inlining on PHP
7!
We opened a thread on Symfony, and it looks like people are confirming that
they don't see any slow down when removing the inlining (they may even see
a small gain):
https://github.com/symfony/symfony/issues/20668
Thanks for challenging the statement!
Nicolas