KEMBAR78
[mypyc] Simplify argument parsing in legacy wrapper functions by JukkaL · Pull Request #10234 · python/mypy · GitHub
Skip to content

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