[php-src] PR #23786: ext/standard: Optimize array_column()
| From: | LamentXU123 | Date: | Sun, 20 Sep 2026 09:44:35 +0000 |
| Subject: | [php-src] PR #23786: ext/standard: Optimize array_column() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38618@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23786
Author: LamentXU123
Just move some numeric-string key normalization stuff out of the main loop. Also return early for
empty input.
| Column selector | Reduction |
|---|---:|
|
'id' | 6.5% |
| '0' | 29.6% |
| '123456789' | 58.6% |