Commit eaaaf13
committed
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.1 parent fcd8794 commit eaaaf13
1 file changed
Lines changed: 83 additions & 111 deletions
0 commit comments