std.string and ranges

bearophile bearophileHUGS at lycos.com
Wed Feb 11 05:10:12 PST 2009


Leandro Lucarella:
> > A module like that in a standard lib needs functions like:
> 
> http://docs.python.org/library/random.html#module-random
> 
> ;)

You can notice some differences, shuffle/shuffled, and weightedChoice are different or missing. You can also see I have not included other things like randRange.
I have also discussed about thread safety, about having three different rnd generators in the std lib, etc.

Bye,
bearophile



More information about the Digitalmars-d mailing list