[Mono-dev] Issues with System.Random
Andreas Nahr
ClassDevelopment at A-SoftTech.com
Wed Mar 17 05:20:46 EDT 2010
I checked again and it seems I confused that with the problems of the
(String) GetHashCode implementation. Sorry for that.
Greetings
Andreas
-----Ursprüngliche Nachricht-----
Von: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] Im Auftrag von Miguel de
Icaza
Gesendet: Dienstag, 16. März 2010 21:26
An: Andreas Nahr
Cc: mono-devel-list at lists.ximian.com
Betreff: Re: [Mono-dev] Issues with System.Random
Hello,
> As already said I didn't test and can't comment but keep in mind that the
> Random class is used (real-world) under VERY specific situations and none
of
> them are near random.
I am not sure about this.
I looked through the svn log for the commits to the Random class, and
I can not find any reverted patches to the Random class.
In fact, I found a commit that explicitly stated "Switch to Knuth
results instead of Microsoft ones".
Unless someone has some strong evidence and a regression report on the
Random class, I see no problem with replacing our Random
implementation with something better (provided the other issuelets
have been resolved). But it seems to me that there is a very weak
case for regressions in the Random class.
Miguel
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list