[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Replacing rand()
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 26 Feb 2004 13:44:02 -0300
> 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