Re: [PHP-DEV] [RFC] Static property asymmetric visibility

2025-01-07 Thread Niels Dossche
On 07/01/2025 19:49, Ilija Tovilo wrote: > I wouldn't necessarily call this a workaround, but more of a missed > optimization (one branch for each static property write that is > unlikely to mispredict). If you wish, I can have a look at separating > cache slots. This may lead to a slowdown due to

Re: [PHP-DEV] [RFC] Static property asymmetric visibility

2025-01-07 Thread Ilija Tovilo
Hi Niels On Tue, Jan 7, 2025 at 7:37 PM Niels Dossche wrote: > > On 04/01/2025 00:14, Larry Garfield wrote: > >> > >> https://wiki.php.net/rfc/static-aviz > I'm not sure how I feel about this. > The current implementation actually uses a workaround because otherwise it > interferes with cache s

Re: [PHP-DEV] [RFC] Static property asymmetric visibility

2025-01-07 Thread Niels Dossche
On 04/01/2025 00:14, Larry Garfield wrote: > On Mon, Nov 25, 2024, at 10:52 AM, Larry Garfield wrote: >> Static property asymmetric visibility was left out of the original RFC, >> because it seemed like it would be hard and of little use. Turns out, >> Ilija found a way to make it easy. (Ilija