-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
feat(db): switch from settype to casts #48010
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noice!
3526363
to
10a1758
Compare
Signed-off-by: Anna Larch <[email protected]>
10a1758
to
6c36c54
Compare
@miaulalala do you have a rough number how much faster the overall API call on a service-layer-level will then be with this improvement? |
I don't know - i can do some comparisons against stable30 and master with blackfire? |
Only if it is not too much work. Was just thinking about it, in case it would be worth mentioning with v31, than marketing would need some numbers / comparison. |
Just claim the |
Signed-off-by: Anna Larch [email protected]
Summary
casting directly to the proper type is up to 6 times faster than using
settype
Also added the types for the methods, let's see if things go boom (although they might not without strict types)
TODO
Checklist