3 ms·
Very cool benchmark. I don't think this will be a huge difference but could you try mypyc? I'm definitely curious how it compares. It uses mypy to perform type
by b_mc2 4y ago
Very cool benchmark. I don't think this will be a huge difference but could you try mypyc? I'm definitely curious how it compares. It uses mypy to perform type checks and claims "Existing code with type annotations is often 1.5x to 5x faster when compiled. Code tuned for mypyc can be 5x to 10x faster."[1]
[1] https://mypyc.readthedocs.io/en/latest/introduction.html https://mypyc.readthedocs.io/en/latest/introduction.html