Message266204
It seems reasonable to me, but I'm not the one to sign off on something like this. I've nosied someone who will have an opinion :)
Would doing:
mybytes = bytes(random.randint(0, 255) for i in range(size))
be faster enough to be workable? I suppose that might build a list under the covers...maybe preallocating a bytearray and filling it with ints would work better. |
|
Date |
User |
Action |
Args |
2016-05-23 23:07:40 | r.david.murray | set | recipients:
+ r.david.murray, rhettinger, ideasman42 |
2016-05-23 23:07:40 | r.david.murray | set | messageid: <1464044860.48.0.710221532034.issue27096@psf.upfronthosting.co.za> |
2016-05-23 23:07:40 | r.david.murray | link | issue27096 messages |
2016-05-23 23:07:40 | r.david.murray | create | |
|