rng is very slow when doing many small reads
Bug #1171237 reported by
Bas Westerbaan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python-Crypto |
New
|
Undecided
|
Unassigned |
Bug Description
Crypto.
Only invoking the CPRNG once, by picking a number between 0 and len(x)!, makes shuffle 5 times faster.
summary: |
- random.shuffle is slow + rng is very slow when doing many small reads |
To post a comment you must log in.
Correction, it's actually about 35 times faster.