[issue17742] Add _PyBytesWriter API

STINNER Victor report at bugs.python.org
Fri Apr 19 00:38:26 CEST 2013


STINNER Victor added the comment:

New version of the patch:
 - address most (all?) Serhiy's remarks
 - _PyBytesWriter_PrepareInternal() always use min_size, not only when overallocate is 1
 - add more comments

Performances are almost the same than without the patch. It looks like they are a little bit better.

----------
Added file: http://bugs.python.org/file29931/bytes_writer-2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17742>
_______________________________________


More information about the Python-bugs-list mailing list