That would make a difference. If the code in RandomUtils never new's
the Mersenne class, then it's static blocks would never run. If
necessary, the Mersenne class could by loaded explicitly, but I don't
think we have to go that far.

So the question to me is whether we lose any test quality by using the JDK RNG.


On Sun, Jan 17, 2010 at 7:07 PM, Sean Owen <sro...@gmail.com> wrote:
> It sounds like the slow code gets triggered at class-loading time, so
> no I don't think this would make a difference. But with the change I
> committed we should only have one class loader in play, I think.
>
> On Mon, Jan 18, 2010 at 12:00 AM, Benson Margulies
> <bimargul...@gmail.com> wrote:
>> What if we used the plain old JDK rng when in test mode?
>

Reply via email to