Skip to content

ext/zip: Preinitialize arrays when size is known#21572

Open
LamentXU123 wants to merge 1 commit intophp:masterfrom
LamentXU123:optimize-zip
Open

ext/zip: Preinitialize arrays when size is known#21572
LamentXU123 wants to merge 1 commit intophp:masterfrom
LamentXU123:optimize-zip

Conversation

@LamentXU123
Copy link
Copy Markdown
Contributor

@LamentXU123 LamentXU123 commented Mar 29, 2026

same as #21560. In those cases the length is already known, then we can directly use array_init_size for some speed-up optimization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant