3 ms·
You can't not include native libraries, at least if you want your benchmark to be realistic. Almost every Python library where performance matters is written (a
by mrtranscendence 3y ago
You can't not include native libraries, at least if you want your benchmark to be realistic. Almost every Python library where performance matters is written (at least partially) in a compiled language.
- bornfreddy 3y agoYes, but many people like the sound of "X-times faster than Python" while conveniently forgetting that the same thing can be (and usually is) done in Python + numpy & co. even faster. I have come to appreciate "slowness" of Python. It trades speed for legibility, which is a great compromise once you have really fast native libraries one import away. Best of both worlds.