[issue15138] base64.urlsafe_b64**code are too slow
Devin Jeanpierre
report at bugs.python.org
Sat May 30 20:56:12 CEST 2015
Devin Jeanpierre added the comment:
Here's a backport of the patch to 2.7. It's pretty rad, and basically identical to how YouTube monkeypatches base64.
Not sure what will happen to this patch. According to recent discussion on the list (e.g. https://mail.python.org/pipermail/python-dev/2015-May/140380.html ), performance improvements are open for inclusion in 2.7 if anyone wants to bother with merging this in and taking on the review / maintenance burden.
I'm OK with just publishing it for others to merge in with their own private versions of Python. It is only relevant if you use base64 a lot. :)
----------
nosy: +Devin Jeanpierre
Added file: http://bugs.python.org/file39568/base64_27.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15138>
_______________________________________
More information about the Python-bugs-list
mailing list