Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It sounds like incremental mode is the default now? I've noticed that it runs much faster after the initial run, with no special configuration

But that link also mentions daemon mode [1], which supposedly "can be 10 or more times faster", so that could be something to try. Running as a persistent server with an in-memory cache is probably part of why LSP-based type checkers like Pyright can perform better than mypy.

[1] https://mypy.readthedocs.io/en/stable/mypy_daemon.html#mypy-...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: