Module talk:Random

This is an old revision of this page, as edited by Isaacl (talk | contribs) at 17:39, 30 November 2013 (suggest setting flag so random seed is set once during a single module invocation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Latest comment: 11 years ago by Isaacl in topic Setting random seed

Setting random seed

I suggest setting a flag when the random seed is set, so it can be set just once. I know it won't help with multiple invocations of the module, since the flag won't be preserved, but at least when random numbers are being generated multiple times during a given function call, the risk of repeating the same seed value will be eliminated. isaacl (talk) 17:39, 30 November 2013 (UTC)Reply