3 ms·
I think a lot of that is that Python doesn't launch a server that handles code analysis/formatting requests, so every time you want to do another round of thing
by bobbylarrybobby 5y ago
I think a lot of that is that Python doesn't launch a server that handles code analysis/formatting requests, so every time you want to do another round of things-to-do-on-save, they all have to do be done more or less from scratch (some info can be cached between runs, but if you're launching a Python process that's like 100ms right there...). I imagine if there were a Python code server that handled formatting and type checking without ever shutting down, it would be quite speedy.
- bombela 5y agoI have some sort of python language server running with neovim to highlight type errors. This is definitively not fast to add errors. But being asynchronous it's palatable.
- MapleWalnut 5y agoMypy provides a server to help with this called dmypy: https://mypy.readthedocs.io/en/stable/mypy_daemon.html https://mypy.readthedocs.io/en/stable/mypy_daemon.html