Re: Getting randomic integers
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Getting randomic integers
- From: startx <startx@...>
- Date: 2010年1月17日 09:53:40 +0000
On 2010年1月17日 00:20:57 -0800
Majic <majic.one@gmail.com> wrote:
> Yes yes, was just hoping to get random numbers more than once a second
> :) I don't think that's portable though.... oh well.
you can use socket.gettime() from luasocket to get a more granular time.
of course it might be a bit of an overkill to require luasocket only
for this function.
startx