Skip to content

SQLite3 fetchArray - faster argument parsing #7392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 25, 2021
Merged

Conversation

kaja47
Copy link
Contributor

@kaja47 kaja47 commented Aug 21, 2021

No description provided.

@krakjoe
Copy link
Member

krakjoe commented Aug 22, 2021

I think it would be better to update the entire file to use fast zpp ... I don't expect it will make a major difference either way.

@kaja47
Copy link
Contributor Author

kaja47 commented Aug 22, 2021

I tried to make changes where costs (increased binary size) are worth it. For fetchArray and simple queries on in-memory table (couple if int columns) this change can bring 5-10% speedup. But I guess guess moving every method of SQLite3Stmt and SQLite3Result to ZPP might be worth it.

@nikic nikic merged commit e89048a into php:master Aug 25, 2021
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.

3 participants