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 vstinner
Recipients rhettinger, sturlamolden, vstinner
Date 2011-08-17.00:00:30
SpamBayes Score 0.0008797257
Marked as misclassified No
Message-id <1313539231.32.0.450754688073.issue12754@psf.upfronthosting.co.za>
In-reply-to
Content
"On my laptop, KISS4691 could produce about 110 million random numbers per second (148 millon if inlined), whereas MT19937 produced 118 million random numbers per second."

The problem is that the Python API can only produce one number per call and a function call in Python is really slow (it creates a Python frame). If you want to speed it Python, it would be better to add methods to generate arrays to limit the overhead of Python function calls.
History
Date User Action Args
2011-08-17 00:00:31vstinnersetrecipients: + vstinner, rhettinger, sturlamolden
2011-08-17 00:00:31vstinnersetmessageid: <1313539231.32.0.450754688073.issue12754@psf.upfronthosting.co.za>
2011-08-17 00:00:30vstinnerlinkissue12754 messages
2011-08-17 00:00:30vstinnercreate