[php-src] PR #23441: Speed up call frame leaving by grouping refcounted CVs
| From: | ndossche | Date: | Mon, 24 Aug 2026 19:33:04 +0000 |
| Subject: | [php-src] PR #23441: Speed up call frame leaving by grouping refcounted CVs | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38118@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23441
Author: ndossche
Leaving the call frame must destroy all the CVs.
It loops over all the vars and then uses i_zval_ptr_dtor on them. We can skip the non-refcounted CVs
in bulk to speed up that loop.