Skip to content

Conversation

devnexen
Copy link
Member

pre-allocated sizes and/or packed arrays.

pre-allocated sizes and/or packed arrays.
@devnexen devnexen marked this pull request as ready for review April 21, 2025 14:54
@kamil-tekiela
Copy link
Member

I don't know enough about PHP internal intricacies to say which one is more correct here. All I can say is that I tested this PR and I observed no difference in performance.

@devnexen
Copy link
Member Author

The benefits should be a bit more obvious on the mysqli_fetch* changes but that might depend of the number of entries

@kamil-tekiela
Copy link
Member

mysqli_fetch_all is now 35% slower with this PR.

@devnexen
Copy link
Member Author

oh did not expect such negative hit :( thx for checking.

@devnexen devnexen closed this Apr 22, 2025
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.

2 participants