Pauli Virtanen <pav <at> iki.fi> writes:

-snip-
> 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.

Note - not "Lua's default implementation" but LuaJIT.


> 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?

Note - the fastest Fortran mandelbrot program is written to use OpenMP, but
those u32 measurements are when the programs are forced onto one core.




_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to