lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On 8/17/08, Matthew Wild <> wrote:
> Hi,
>  Out of curiosity, does anyone have a technical explanation to offer
>  for why Lua performs up to 30x worse than Python and Perl in the
>  pidigits benchmark?
>  Link:

I guess it is because Python uses native code Multi-Precision
Arithmetic library "gmpy" while Lua  test program implements these
operations in Lua. Until Lua gets its own bindings to some good native
numeric library it will always loose  heavily numeric tests.


P.S. LuaJIT holds water against Python much better. See below.