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.

@serhiy-storchaka

This PR rewrites again some of code changed in #11435. It looks now simpler but has the same performance.

vstinner

vstinner

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.

Labels