-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-43287: Use PEP 590 vectorcall to speed up filter() #24611
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
Conversation
Python/bltinmodule.c
Outdated
lz->it = it; | ||
lz->func = Py_NewRef(args[0]); |
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.
I prefer to set structure members in the same order of the structure members.
lz->it = it; | |
lz->func = Py_NewRef(args[0]); | |
lz->func = Py_NewRef(args[0]); | |
lz->it = it; |
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.
Seeing the boilerplate code to parse arguments makes me sad, but I created https://bugs.python.org/issue43447 to discuss how to adress this issue ;-)
Great :) |
https://bugs.python.org/issue43287