On 02/19/2013 12:27 PM, monarch_dodra wrote:
Last but not least, be warned there is an old-standing bug with anything in phobos that takes a PRNG by value. Basically, the PRNG will be duplicated, and generate the same sequence over and over. Ergo, do NOT pass a specific random generator to things like randomSample or randomSuffle.
Sorry, I missed your remark on this when writing my own email. But I'm not sure this issue can be over-emphasized ... :-)