Skip to content

bpo-35582: Argument Clinic: Optimize the "all boring objects" case.#11520

Merged
serhiy-storchaka merged 1 commit intopython:masterfrom
serhiy-storchaka:clinic-inline-unpack
Jan 11, 2019
Merged

bpo-35582: Argument Clinic: Optimize the "all boring objects" case.#11520
serhiy-storchaka merged 1 commit intopython:masterfrom
serhiy-storchaka:clinic-inline-unpack

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka commented Jan 11, 2019

Use _PyArg_CheckPositional() and inlined code instead of
PyArg_UnpackTuple() and _PyArg_UnpackStack() if all parameters
are positional and use the "object" converter.

https://bugs.python.org/issue35582

Use _PyArg_CheckPositional() and inlined code instead of
PyArg_UnpackTuple() and _PyArg_UnpackStack() if all parameters
are positional and use the "object" converter.
Copy link
Copy Markdown
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@serhiy-storchaka serhiy-storchaka merged commit 2a39d25 into python:master Jan 11, 2019
@serhiy-storchaka serhiy-storchaka deleted the clinic-inline-unpack branch January 11, 2019 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Performance or resource usage skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants