3 ms·
mypyc keeps Python's "BigIntegers", unicode string implementation, reference counting, and has little to no floating point-related optimizations yet. It priorit
by sirwhinesalot 4y ago
mypyc keeps Python's "BigIntegers", unicode string implementation, reference counting, and has little to no floating point-related optimizations yet. It prioritizes compatibility over overall performance, so I'm not surprised. I was also disappointed at how poor mypyc is at compiling across multiple files, but that they can fix at some point.
The BigInteger "issue" pretty much makes something like Fibonacci a worst case scenario for it.
- ptx 4y agoLooks like they added support for unboxed floats yesterday (not sure about integers): https://github.com/python/mypy/commit/d05974b9b099ec755fd1c689a7d2c7150ea313af https://github.com/python/mypy/commit/d05974b9b099ec755fd1c6...