[php-src] PR #11511: Allow enabling/disabling PCRE JIT after regex was compiled
| From: | iluuu1994 | Date: | Fri, 23 Jun 2023 10:08:33 +0000 |
| Subject: | [php-src] PR #11511: Allow enabling/disabling PCRE JIT after regex was compiled | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22796@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11511
Author: iluuu1994
Previously, when the regex was first encountered it would be compiled with or without JIT and be
executed accordingly. With this PR, a regex will be executed with or without JIT depending on the
current state of PCRE_G(jit). Moreover, if the regex was previously compiled with JIT disabled, JIT
compilation will be done when executing the regex for the first time after enabling the JIT.