[issue15381] Optimize BytesIO to so less reallocations when written, similarly to StringIO

Eli Bendersky report at bugs.python.org
Wed Jul 18 13:58:41 CEST 2012


Eli Bendersky <eliben at gmail.com> added the comment:

I'd like to take a shot at this, if Antoine doesn't mind. I'll prepare a patch for bytesio.c

Question: what set of benchmarks would it be good to run to make sure this doesn't degrade the performance of BytesIO in various cases?

----------
assignee:  -> eli.bendersky

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


More information about the Python-bugs-list mailing list