Message213023
It's a classical time-space trade-off. I'm not sure this is a bug; if it is, the reasonable change (IMO) is to just revert the introduction of these *2 tables, and loop through the output character-by-character.
I'd personally be in favor of such a change (drop the tables). If people think that these functions are too slow, they should propose an extension of the binascii module, rather than micro-optimizing the Python code. |
|
Date |
User |
Action |
Args |
2014-03-10 10:17:03 | loewis | set | recipients:
+ loewis, pitrou, vstinner, serhiy.storchaka |
2014-03-10 10:17:03 | loewis | set | messageid: <1394446623.17.0.456819389477.issue20879@psf.upfronthosting.co.za> |
2014-03-10 10:17:03 | loewis | link | issue20879 messages |
2014-03-10 10:17:02 | loewis | create | |
|