[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: "freebie" code / random number generator.
- Subject: Re: "freebie" code / random number generator.
- From: "Wanko, Christopher G, CFCTR" <apollo@ATT.COM>
- Date: Fri, 9 Jul 1999 16:20:20 -0400
> that's 5000 *unique* 5-digit randoms in 3 minutes.
> that's something.
> what's more is that it generates the first 1000 in 20 seconds ;-)
> (and of course it slows down exponentially as it starts
> doing extra iterations to prevent duplicates.)
Or, you can browse to:
http://www.random.org/cgi-bin/randnum?num=10000&min=1&max=50000&col=5
and get 10000 random numbers in 30 seconds, then sort out the duplicates.
It sounds like you need a hashing function more than a random function, by
the way.
-Chris