3 ms·
"No. ... No." Benchmarks are worthless unless they accurately model your application and workload. Is C 42 times faster than Python for doing numerical calcul
by russell 16y ago
"No. ... No."
Benchmarks are worthless unless they accurately model your application and workload. Is C 42 times faster than Python for doing numerical calculations? No. If you are using NumPy, the difference is more like 10%. (I pulled the 10% figure out of my nether orifice, but I believe it to be in the ballpark.) Yes, I know that NumPy is buckets of C with a tasty Python frosting.
- igouy 16y ago> Benchmarks are worthless unless... There's a page for that! http://shootout.alioth.debian.org/flawed-benchmarks.php#app http://shootout.alioth.debian.org/flawed-benchmarks.php#app > If you are using NumPy... http://shootout.alioth.debian.org/u32/program.php?test=spectralnorm&lang=python&id=2 http://shootout.alioth.debian.org/u32/program.php?test=spect...