[php-src] PR #21560: /ext/uri/: Slightly optimize `fill_errors()`
| From: | LamentXU123 | Date: | Sat, 28 Mar 2026 08:35:20 +0000 |
| Subject: | [php-src] PR #21560: /ext/uri/: Slightly optimize `fill_errors()` | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35410@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21560
Author: LamentXU123
Since we already could get length from
lexbor_plog_length(lexbor_parser.log), we could
directly use array_init_size(errors, len) instead of array_init(errors)