[php-src] PR #21572: ext/zip: Preinitialize arrays when size is known
| From: | LamentXU123 | Date: | Sun, 29 Mar 2026 12:40:42 +0000 |
| Subject: | [php-src] PR #21572: ext/zip: Preinitialize arrays when size is known | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35430@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21572
Author: LamentXU123
same as #21560. In those cases the length is already known, then we can directly use
array_init_size for some optimization.