Skip to content

Commit 1606f0f

Browse files
authored
Optimize mypy.fastparse2 (#5735)
These seem to speed up Python 2 type checking runtimes by up to around 3%, when compiled with mypyc. This is similar to #5722, but for Python 2. Also added some parser tests, since Python 2 coverage was spotty. (It's still not quite at full coverage, though.)
1 parent 3e86de1 commit 1606f0f

File tree

4 files changed

+671
-228
lines changed

4 files changed

+671
-228
lines changed

0 commit comments

Comments
 (0)