bpo-35582: Inline arguments tuple unpacking in handwritten code. by serhiy-storchaka · Pull Request #11524 · python/cpython
Conversation
Inline PyArg_UnpackTuple() and _PyArg_UnpackStack() in performance critical code in the builtins and operator modules.
This PR rewrites again some of code changed in #11435. It looks now simpler but has the same performance.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but please keep "w" variable in builtin_iter() as I proposed in a comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters