lua-users home
lua-l archive

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


> If anyone sees a way to improve on the
> current Lua version, please feel free
> to send me a copy, preferably with a
> timing comparison with the current one,
> and I'll add the best result with
> source code and an acknowledgement.

Okay...

1.  Take the C code.
2.  Write a wrapper in Lua.
3.  Lua wins!!!

Actually, that's not as silly as it may sound.  In order to run your code,
one needs to have already extended their Lua with the bit library that I
wrote (and that Reuben Thomas later improved).  If we're going to make that
assumption, then how much more work is it for the programmer to extend their
Lua with a MD5 routine in C?