[Numpy-discussion] [OT] Re: debian benchmarks

Pauli Virtanen pav@iki...
Sun Jul 4 16:29:24 CDT 2010


Sun, 04 Jul 2010 04:32:14 +0200, Sturla Molden wrote:
> I was just looking at Debian's benchmark. LuaJIT is now (on median)
> beating Intel Fortran! Consider that Lua is a dynamic language very
> similar to Python. I know it's "just a benchmark" but this has to count
> as insanely impressive.

I guess you're talking about shootout.alioth.debian.org tests?

> Beating Intel Fortran with a dynamic scripting
> language... How is that even possible?

It's possible that in the cases where Lua wins, the Lua code is not 
completely equivalent to the Fortran code, or uses stuff such as strings 
for which Lua's default implementation may be efficient.

At least in the mandelbrot example some things differ. I wonder if Lua 
there takes advantage of SIMD instructions because the author of the code 
has manually changed the inmost loop to process two elements at once?

-- 
Pauli Virtanen



More information about the NumPy-Discussion mailing list