Re: Offset-only results from preg_match
| From: | C. Scott Ananian | Date: | Thu, 28 Mar 2019 21:38:43 +0000 |
| Subject: | Re: Offset-only results from preg_match | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104984@lists.php.net to get a copy of this message | ||
On Wed, Mar 27, 2019 at 5:41 PM C. Scott Ananian <cananian@wikimedia.org>
wrote:
> I've created https://github.com/php/php-src/pull/3994
> implementing this
> fix, and confirmed that it is sufficient to get my large regexp interned
> when it is rewritten as a class constant referencing
> HTMLData::NAMED_ENTITY_REGEX.
>
After some discussion on PR #3994, it was determined that splitting the
pcre cache to allow per-request caching would be a better solution. I'm
closing #3994 and I've created https://github.com/php/php-src/pull/4004
with an initial implementation of the split PCRE cache.
--scott
--
(http://cscott.net)