[php-src] Issue #8283: Performance: array_reduce is drastically slower (~1000x) than implementing the same logic with foreach
| From: | iluuu1994 | Date: | Wed, 30 Mar 2022 22:43:11 +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-240590@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8283
Comment Author: iluuu1994
It might be possible to do some ref-count hackery but I'm not sure if that's frowned upon.
I'll test tomorrow. But most likely there's nothing we can do here.