[Freeciv-Dev] Re: Random generator not random at all
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
David Pfitzner <dwp@xxxxxxxxxxxxxx> writes:
> - Pre-heat the generator with 100000 goes in mysrand(). Using
> divisor method test_random1() looks ok even without pre-heating,
> but it seems like a good idea to pre-heat anyway (eg for more
> subtle issues not revealed by test_random1().)
From my tests, 10000 seemed to be enough (I meant to type that). Might
introduce a delay on slow architectures, otherwise.
Falk
|
|