-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speed up by mypyc transpilation #51
Comments
Is the performance bad? I would expect most of the time is spent in pyflakes. Maybe ruff can be used instead to provide a boost. Does it expose all the necessary information? |
People at Astropy have noticed it's the slowest step in our pre-commit. |
I'm not sure about ruff's python API. But that would presumably be much faster |
They don't have one yet, but using it as a subprocess may be fast enough. astral-sh/ruff#659 |
Also would be a good idea to profile this to see if that actually is why it's slow. |
https://mypyc.readthedocs.io/en/latest/introduction.html#introduction
Requires type hinting
The text was updated successfully, but these errors were encountered: