Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor proper subtype check optimization
Mypyc is bad at compiling nested functions. In one use case we were spending 7% of the mypy runtime just creating closure objects for `check_argument`. Here I manually inline the nested function to avoid this overhead. Work on #12526.
- Loading branch information