diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-10-13 10:51:47 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-10-13 10:51:47 +0200 |
commit | eaaaf136d20e1dd5160c2083fb81313d0818ea5d (patch) | |
tree | 5e63418a5a1517f4e1455bbd5f95b5e9627e3319 /Lib/pickletools.py | |
parent | fcd8794ab51b72174e7d36f7998cd146474308c9 (diff) | |
download | cpython-git-eaaaf136d20e1dd5160c2083fb81313d0818ea5d.tar.gz |
Issue #25384: Use _PyBytesWriter API in binascii
This API avoids a final call to _PyBytes_Resize() for output smaller than 512
bytes.
Small optimization: disable overallocation in binascii.rledecode_hqx() for the
last write.
Diffstat (limited to 'Lib/pickletools.py')
0 files changed, 0 insertions, 0 deletions