[php-src] PR #21475: TAILLCALL VM: Do not return in ZEND_VM_ENTER_EX, ZEND_VM_LEAVE
| From: | arnaud-lb | Date: | Fri, 20 Mar 2026 12:53:27 +0000 |
| Subject: | [php-src] PR #21475: TAILLCALL VM: Do not return in ZEND_VM_ENTER_EX, ZEND_VM_LEAVE | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35276@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21475
Author: arnaud-lb
The TAILLCALL VM returns in ZEND_VM_ENTER_EX and ZEND_VM_LEAVE, but that's not necessary.
Redefine ZEND_VM_ENTER_EX, ZEND_VM_LEAVE so that they tailcall instead.
This makes the Symfony and bench.php about 1% and 3.5% faster.