Re: [Math] Speedup opportunity in AbstractRealDistribution

2014-05-20 Thread Ajo Fod
Thanks null rng parameter works for me. -Ajo. On Tue, May 20, 2014 at 1:15 PM, Phil Steitz wrote: > On 5/20/14, 12:54 PM, Ajo Fod wrote: > > A couple of observations: > > ... The default random generator takes a while to instantiate. > > ... Many functions of these distributions don't require

Re: [Math] Speedup opportunity in AbstractRealDistribution

2014-05-20 Thread Phil Steitz
On 5/20/14, 12:54 PM, Ajo Fod wrote: > A couple of observations: > ... The default random generator takes a while to instantiate. > ... Many functions of these distributions don't require a random generator. > Generally speaking only sampling requires it. > > So, why force the default constructor t

[Math] Speedup opportunity in AbstractRealDistribution

2014-05-20 Thread Ajo Fod
A couple of observations: ... The default random generator takes a while to instantiate. ... Many functions of these distributions don't require a random generator. Generally speaking only sampling requires it. So, why force the default constructor to initialize with a new random generator. Why no