Hi Brent,
Preloading had intention to completely eliminate opcache overhead, but
because of limitations it wasn't able to preload classes with unresolved
constants, typed properties and covariant checks.
This PR makes these preloading limitations less strict and adds transparent
inheritance cache
Hey Dmitry
Out of curiousity: how does this compare to preloading? From what I understand
preloading also links classes, which was one of the most important differences
between preloading files and simply storing them in opcache. Does this change
mean that preloading becomes much less relevant
On Fri, 5 Feb 2021 at 15:03, Dmitry Stogov wrote:
> Hi,
>
> I'm glad to present the result of my recent work - Inheritance Cache.
>
> https://github.com/php/php-src/pull/6627
>
> This is a new transparent technology that eliminates overhead of PHP class
> inheritance.
>
> PHP classes are compile
Hi,
I'm glad to present the result of my recent work - Inheritance Cache.
https://github.com/php/php-src/pull/6627
This is a new transparent technology that eliminates overhead of PHP class
inheritance.
PHP classes are compiled and cached (by opcahce) separately, however their
"linking" was do