-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-118379: Use PyTuple_Pack #118381
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
gh-118379: Use PyTuple_Pack #118381
Conversation
Could someone add skip news, thank you? |
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.
LGTM.
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.
Yes, this is going to be faster. Thank you!
I ran this on our benchmarking infrastructure, and it seems to speed up the telco benchmark (which is the only |
If it affects the telco benchmark, and this is not a random fluctuation, there should be possible to create a microbenchmark that shows the tens percents difference. |
Py_BuildValue("(OO...)", a, b, ...)
#118379