[php-src] PR #18158: Improve performance of array_map()
| From: | nielsdos | Date: | Wed, 26 Mar 2025 22:38:08 +0000 |
| Subject: | [php-src] PR #18158: Improve performance of array_map() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31186@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18158
Author: nielsdos
The refcounting and destruction is not necessary because zend_call_function will make a copy anyway.
And zend_call_function only returns FAILURE if EG(active) is false in which case array_map
shouldn't have been called in the first place.