home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!hamblin.math.byu.edu!yvax.byu.edu!cunyvm!psuvm!kcr103
- Newsgroups: comp.sys.apple2
- Subject: Random Number Generation
- Message-ID: <92315.141227KCR103@psuvm.psu.edu>
- From: <KCR103@psuvm.psu.edu>
- Date: Tue, 10 Nov 1992 14:12:27 EST
- Organization: Penn State University
- Lines: 11
-
- 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
-