3 ms·
From the empirical mini-"benchmark" in the article: * C: 0.8 seconds.z * C++: 2.3 seconds. * OCaml: 0.6 seconds *interpreted*, 0.3 seconds fully compiled
by YeGoblynQueenne 10y ago
From the empirical mini-"benchmark" in the article:
* C: 0.8 seconds.z
* C++: 2.3 seconds.
* OCaml: 0.6 seconds *interpreted*, 0.3 seconds fully compiled.
* Java: 1 minute 20 seconds.
* Python: over 5 minutes
I have a hunch the Python version did not use numpy because numpy calls to a BLAS library in either C or Fortran to vectorise stuff and should have been close to C and C++ in performance.
Edit: numpy was available in 2006, and even earlier than that.