Skip to content

[mypyc] Simplify argument parsing in legacy wrapper functions #10234

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

Merged
merged 30 commits into from
Mar 27, 2021

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Mar 21, 2021

Only include the argument parsing functionality we need.

This speeds up the call_type_from_interpreted microbenchmark by about
17% on Python 3.8. This will also speed up most wrapper functions on Python 3.6
and earlier, since they don't use the new-style "fastcall" wrappers.

This also speeds up the test suite a little, since there's less code to compile.

@JukkaL JukkaL merged commit fcbb2dd into master Mar 27, 2021
@JukkaL JukkaL deleted the fast-legacy-arg-parsing branch March 27, 2021 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant