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 vstinner
Recipients Arfrever, loewis, pitrou, serhiy.storchaka, vstinner
Date 2014-03-10.10:41:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394448081.89.0.732718347799.issue20879@psf.upfronthosting.co.za>
In-reply-to
Content
base64_on_demand.patch: create tables the first time they are needed.

b85decode() already uses such trick to build _b85dec.

Note: a85decode() doesn't use a precomputed table.

> 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.

Yes, a C extension may be even faster. But I'm not interested to work on such enhance, I just want to fix the regression in memory usage right now.
History
Date User Action Args
2014-03-10 10:41:21vstinnersetrecipients: + vstinner, loewis, pitrou, Arfrever, serhiy.storchaka
2014-03-10 10:41:21vstinnersetmessageid: <1394448081.89.0.732718347799.issue20879@psf.upfronthosting.co.za>
2014-03-10 10:41:21vstinnerlinkissue20879 messages
2014-03-10 10:41:21vstinnercreate