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

Random Number Generation



I am working on Dawn of Time for the GS and want to know the best (fastest) way
to generate random numbers.  I was actually thinking of generating a table of
32000 random numbers for the program to use over and over.  Only the starting
point would need to be randomized then and a counter incremented for each numbe
r (random) required by the program.  Is there significant enough overhead in
generating random numbers that such a random number table would be warranted or
worthwhile.

Thanks for any ideas,

Ken