[php-src] PR #11686: Always memoize assert
| From: | iluuu1994 | Date: | Wed, 12 Jul 2023 09:44:29 +0000 |
| Subject: | [php-src] PR #11686: Always memoize assert | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23011@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11686
Author: iluuu1994
As mentioned in https://github.com/php/php-src/pull/11632, I
think this is the better option because it avoids double-compilation of any potential expression. It
our expressions happen to not be idempotent compilation will fail. Unfortunately the branches are
duplicated, we should be able to avoid that by moving the
bool runtime_resolution = ...
block.