Skip to content

Commit eaaaf13

Browse files
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

File tree

0 commit comments

Comments
 (0)