4 ms·
One great move I've discovered recently is to simply type annotate the python thoroughly and use mypyc to build a c package
by adammarples 4y ago
One great move I've discovered recently is to simply type annotate the python thoroughly and use mypyc to build a c package
- wcdolphin 4y agoWould 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 4y agoHere's a detailed write-up from one of the Black maintainers: https://ichard26.github.io/blog/2022/05/compiling-black-with-mypyc-part-1/ https://ichard26.github.io/blog/2022/05/compiling-black-with.... That's on the low side of the speedup curve, in my experience.