[issue34749] improve performance of binascii.a2b_base64()

2019-07-14 Thread Petr Viktorin
Change by Petr Viktorin : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34749] improve performance of binascii.a2b_base64()

2019-07-14 Thread miss-islington
miss-islington added the comment: New changeset 1c5e68e7145f0825f9b952389141edb9436eb43d by Miss Islington (bot) (Sergey Fedoseev) in branch 'master': bpo-34749: Improved performance of binascii.a2b_base64(). (GH-9444) https://github.com/python/cpython/commit/1c5e68e7145f0825f9b952389141edb94

[issue34749] improve performance of binascii.a2b_base64()

2018-09-20 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- keywords: +patch pull_requests: +8859 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue34749] improve performance of binascii.a2b_base64()

2018-09-20 Thread Sergey Fedoseev
New submission from Sergey Fedoseev : I reworked implementation of binascii.a2b_base64() and there is significant speedup: $ python -m perf timeit --compare-to ~/tmp/cpython-master-venv/bin/python -s "from binascii import b2a_base64, a2b_base64; s = b2a_base64(1000 * b'b')" "a2b_base64(s)" /