[php-src] PR #11825: Add typed specialization for ZEND_COUNT
| From: | iluuu1994 | Date: | Sat, 29 Jul 2023 16:48:03 +0000 |
| Subject: | [php-src] PR #11825: Add typed specialization for ZEND_COUNT | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23200@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11825
Author: iluuu1994
In Symfony Demo, we have 138 executions of the untyped and 144 executions of the typed handler. We
went from 29403050 => 29372812 instructions, which is roughly a 0.1% speedup. This only adds two
small handlers, which should limit instruction cache eviction. Unfortunately, we still need the
SAVE_OPLINE() because destructors of objects inside the array may throw.