Tangentially, I'm a little surprised there isn't a random stream factory in the core. They're useful for reproducible testing. With a global random number generator, even if you seed it, another module can call "rand" and alter the sequence you get from your "rand" calls. I think something like "srand" that returns a pseudo-random iterator would be useful.Thread Previous | Thread Next