[php-src] Issue #8283: Performance: array_reduce is drastically slower (~1000x) than implementing the same logic with foreach
| From: | iluuu1994 | Date: | Thu, 14 Apr 2022 14:52:53 +0000 |
| Subject: | [php-src] Issue #8283: Performance: array_reduce is drastically slower (~1000x) than implementing the same logic with foreach | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240970@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8283
Comment Author: iluuu1994
I took a quick look and the
ZEND_COPY which includes refcounting is in a central place,
so it can't really be changed.