From 6812bb1f54336692d6d5e6ffbcec71ecde52447a Mon Sep 17 00:00:00 2001 From: Ruslans Tarasovs Date: Fri, 28 Feb 2025 12:12:04 +0200 Subject: [PATCH] Address review comments. --- src/main/scala-2/com/evolutiongaming/random/Random.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/scala-2/com/evolutiongaming/random/Random.scala b/src/main/scala-2/com/evolutiongaming/random/Random.scala index 663243a..3e38bd9 100644 --- a/src/main/scala-2/com/evolutiongaming/random/Random.scala +++ b/src/main/scala-2/com/evolutiongaming/random/Random.scala @@ -122,7 +122,9 @@ object Random { * * @param seed * The internal state of the random number generator that will be used to - * generate the next random number. + * generate the next random number. The initial `seed` is quite important + * as having `0` as seed reduces this LCG PRNG to lesser Lehmer RNG. + * Consider using [[State#fromClock]] for a good initial seed. * @param random * The stateless part of the random number generator, i.e. the set of * functions from `state1` to `(state2, A)`, where `A` is the type of