[RFC] opcache.no_cache: Opcache optimization without any caching

From: Date: Sat, 16 May 2020 16:37:12 +0000
Subject: [RFC] opcache.no_cache: Opcache optimization without any caching
Groups: php.internals 
Request: Send a blank email to internals+get-110187@lists.php.net to get a copy of this message
Hi internals, I've created the RFC https://wiki.php.net/rfc/opcache.no_cache to make the opcode optimizer and JIT available without opcode caching, through a new setting opcache.no_cache=1. So far, the feedback I've gotten is that having the ability to optimize without caching would be useful, but that moving the optimizer into Zend is possibly a better solution. (https://github.com/php/php-src/pull/5504 , announced two weeks ago in https://externals.io/message/109959 "opcache.no_cache prototype: Opcode optimization without caching") To summarize my reasons for creating the RFC without moving the optimizer: - Even with the optimizer moved into PHP's core, I still think there'd be the same use case for a system ini configuration setting to disable caching. (in designs I can imagine) - I consider this useful functionality to have, so I'd rather have a good solution than an ideal solution that currently isn't being worked on (to my knowledge) - I'd prefer creating an RFC with small changes here. - The discussions would be useful for future RFCs in this area. If a viable RFC&implementation to move opcache into core is created (and would conflict with this), I'll postpone this RFC. Thanks, - Tyson

« previous php.internals (#110187) next »