Message72371
Will do, although I'm slightly concerned that my "bytes" version of the
function is about 50% slower than the "str" version. I can see why, I
just can't think of a way to do it any faster. There's an inherent
asymetry in bytes type that didn't exist before: b''.join(list(b'abc'))
does not work. Of course, this does work: bytes(list(b'abc')), but the
bytes constructor only accepts ints, not bytes. I'd like to see either
the join method accept ints as well as bytes, or the bytes ctor accept
bytes as well as ints. Or something. |
|
Date |
User |
Action |
Args |
2008-09-02 23:38:51 | andrewmcnamara | set | recipients:
+ andrewmcnamara, gvanrossum |
2008-09-02 23:38:50 | andrewmcnamara | set | messageid: <1220398730.91.0.545529283735.issue3756@psf.upfronthosting.co.za> |
2008-09-02 23:38:50 | andrewmcnamara | link | issue3756 messages |
2008-09-02 23:38:49 | andrewmcnamara | create | |
|