This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Arfrever, alex, dstufft, ezio.melotti, mark.dickinson, neologix, pitrou, rhettinger, tim.peters, vstinner
Date 2014-05-11.19:51:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399837918.55.0.550569119819.issue21470@psf.upfronthosting.co.za>
In-reply-to
Content
> What constitutes "enough" is a value judgment that many vary from
> application to application.  For some applications, a much weaker PRNG 
> would suffice, but we decided long ago that we wanted the full power of MT.

I don't really understand for which application 20000 bits of seeding entropy would be required *in practice*. Surely MT has other interesting properties (such as the statistical distribution of the output) than its insanely large cycle length, that make it desirable as a PRNG.

The paper you linked to ("Good Practice in (Pseudo) Random Number Generation for Bioinformatics Applications") doesn't suggest feeding a 20000 bits seed, it actually seems to say that 64 bits is enough for numerical simulations run on large clusters.

While reading 20000 bits off of /dev/urandom might be fast under Linux, it might not necessarily be the case on other systems. It doesn't sound reasonable to read this many data if there isn't a strong reason for doing it.
History
Date User Action Args
2014-05-11 19:51:58pitrousetrecipients: + pitrou, tim.peters, rhettinger, mark.dickinson, vstinner, ezio.melotti, Arfrever, alex, neologix, dstufft
2014-05-11 19:51:58pitrousetmessageid: <1399837918.55.0.550569119819.issue21470@psf.upfronthosting.co.za>
2014-05-11 19:51:58pitroulinkissue21470 messages
2014-05-11 19:51:57pitroucreate