RE: Pike 8.0 beta

"Lahtinen Kimmo (Valtori)" <[email protected]>
Newsgroups gmane.comp.lang.pike.user,gmane.comp.lang.pike.devel
Message-ID <[email protected]>
I think I can understand the need for your request, but I am wondering is the random function correct for that kind of purpose. I think the main function is to generate random sequence and more random is better. I think the random seed was invented to solve the problem of not enough randomness?

Kimmo

I'd say it would be prudent to switch to a predictable pseudo-random-sequence as soon as someone has called random_seed() with a non-zero parameter.  If random_seed() is not being called, then it does not matter, and faster and more random is better.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.