lua-users home
lua-l archive

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

> I noticed that Math.random() uses the C RTL's rand() function which as 
> I'm sure everyone knows, is rather poor.  It would be fairly trivial 
> and small to put in an inline Mersenne Twister implementation.
> Have the Lua maintainers considered this?

Currently, the Lua distribution contains no third-party (copyrithed)
code and we would like to keep it that way. It will be great to have
this function implemented through a separate library.

-- Roberto