5 ms·
This only proves even more how Python is magnificently fast. Only 5% difference from the native code...
by p0w3n3d 2y ago
This only proves even more how Python is magnificently fast. Only 5% difference from the native code...
- atiedebee 2y agoPython is just interfacing with native code in these benchmarks. Matrix multiplication written in purely python would probably be slower by at least 2 orders of magnitude.
- p0w3n3d 2y agoYes, but python was made to interface with complicated C backend using modern and friendly, mathematics aware syntax. That's why python is so good for e.g. machine learning, and nobody does it in Java for example.