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 serhiy.storchaka
Recipients pitrou, serhiy.storchaka
Date 2013-04-21.21:34:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366580059.45.0.527459222954.issue17812@psf.upfronthosting.co.za>
In-reply-to
Content
b32encode accumulates encoded data in a bytes object and this operation has quadratic complexity.

Here is a patch, which fixes this issue by accumulating in a list.
History
Date User Action Args
2013-04-21 21:34:19serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou
2013-04-21 21:34:19serhiy.storchakasetmessageid: <1366580059.45.0.527459222954.issue17812@psf.upfronthosting.co.za>
2013-04-21 21:34:19serhiy.storchakalinkissue17812 messages
2013-04-21 21:34:19serhiy.storchakacreate