Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
adammarples
· 3y ago · 0 comments
One great move I've discovered recently is to simply type annotate the python thoroughly and use mypyc to build a c package
Comments
[–]
wcdolphin
3y ago
Would you mind sharing more details of your experience using MypyC? What domain are you working in, and what kind of effort and speedups did you see?
[–]
FreakLegion
3y ago
Here's a detailed write-up from one of the Black maintainers:
https://ichard26.github.io/blog/2022/05/compiling-black-with...
. That's on the low side of the speedup curve, in my experience.