php-src/ext/pcre
Anatol Belski 684ce24eec Improve locale character tables handling and reduce pattern cache size
If a locale other than C is active, character tables are saved into the
compile context. Every compiled pattern will have a pointer to the
character table, that was present in the context at the time of the
pattern compilation. Thus, the cache entries don't need to carry char
tables pointer, which reduces their size to 8 bytes on 64-bit. Instead,
the generated character tables are tracked in a separate HashTable. If a
character table was generated before, it'll be assigned to the compile
context when the locale changes. Otherwise a new char table will be
generated and cached.
2018-06-22 14:45:29 +02:00
..
pcre2lib Upgrade bundled PCRE2 to 10.31 2018-02-14 13:44:38 +01:00
tests Fixed bug #76514 Regression in preg_match makes it fail with PREG_JIT_STACKLIMIT_ERROR 2018-06-22 11:05:30 +02:00
config.w32 Upgrade bundled PCRE2 to 10.31 2018-02-14 13:44:38 +01:00
config0.m4 Switch to more robust config for external pcre2 2018-04-26 14:20:36 +02:00
CREDITS
php_pcre.c Improve locale character tables handling and reduce pattern cache size 2018-06-22 14:45:29 +02:00
php_pcre.def Patch core for PCRE2 support 2017-11-13 19:37:38 +01:00
php_pcre.h year++ 2018-01-02 12:57:58 +08:00
upgrade-pcre.php Upgrade PCRE to 8.36, it fixes some crashes 2015-04-27 23:16:54 -07:00