3 ms·
Looking at the first benchmark in the list you gave, just in-lining eval_A in the Python code (as the Ruby code does) makes the Python code competitive with the
by Veedrac 11y ago
Looking at the first benchmark in the list you gave, just in-lining eval_A in the Python code (as the Ruby code does) makes the Python code competitive with the Ruby.
As usual, don't trust the Benchmarks Game; it's not nearly well enough controlled to be a useful data point.
(I do agree with your main point, though. CPython ain't that fast.)
- igouy 11y agoAs usual, don't trust Joshua Landau: without in-lining eval-A the Ruby code only slows from 102secs to 137secs. As usual, Joshua -- Do the ordinary thing and report specific programs that you think should not be allowed.
- Veedrac 11y agoFor those not aware, igouy maintains the Benchmarks Game.
- igouy 11y agoNothing hidden about that -- http://benchmarksgame.alioth.debian.org/sometimes-people-just-make-up-stuff.html#history http://benchmarksgame.alioth.debian.org/sometimes-people-jus... How to report specific programs that you think should not be allowed -- http://benchmarksgame.alioth.debian.org/play.html#invalid http://benchmarksgame.alioth.debian.org/play.html#invalid