Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split pcre cache into permanent and per-request caches
In addition to the permanent pcre cache, maintain a separate per-request cache so that we can use string identity comparisons instead of having to do full zend_string_equal_content() on every cache fetch -- this can be quite costly if the regular expression is large.
- Loading branch information
Showing
3 changed files
with
74 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters