Message142242
| 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:31 | vstinner | set | recipients:
+ vstinner, rhettinger, sturlamolden |
| 2011年08月17日 00:00:31 | vstinner | set | messageid: <1313539231.32.0.450754688073.issue12754@psf.upfronthosting.co.za> |
| 2011年08月17日 00:00:30 | vstinner | link | issue12754 messages |
| 2011年08月17日 00:00:30 | vstinner | create |
|