Mypy 0.700 Released: Up To 4x Faster
mypy-lang.blogspot.com/2019/04/mypy-0700-rele...Posted Apr 3, 2019, 8:17 PM UTC
Posted Apr 3, 2019, 8:17 PM UTC
This is faster at running MyPy right, not the Python code you write?
Correct. Mypy statically analyzes your code and does nothing to affect the runtime performance.
This version of mypy is compiled with mypyc to make it faster.
Maybe the objective here is to beat pyright in speed. After all, a big advantage that was touted for it was being faster.
https://github.com/Microsoft/pyright vs https://github.com/python/mypy
I understand why you say that, but no, this is not the case. There has been work on making mypy run faster for over a year now. The release of pyright and the speed advantages here are merely a coincidence.
Also pyright lowered it's performance claims AIUI.
Indeed they did: https://github.com/Microsoft/pyright/commit/0017f645b3716e7026b625e2a9cf1b5cbc85fc48.
They made it more vague, but there’s not clear to me they meant it to be less fast. What is significant to you?
TIL mypy devs are employees of Dropbox?
Yeah, Guido has been working there for quite a while.