This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients loewis, pitrou, serhiy.storchaka, vstinner
Date 2014-03-10.10:17:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394446623.17.0.456819389477.issue20879@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-03-10 10:17:03loewissetrecipients: + loewis, pitrou, vstinner, serhiy.storchaka
2014-03-10 10:17:03loewissetmessageid: <1394446623.17.0.456819389477.issue20879@psf.upfronthosting.co.za>
2014-03-10 10:17:03loewislinkissue20879 messages
2014-03-10 10:17:02loewiscreate