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

Serhiy Storchaka report at bugs.python.org
Wed Jul 18 16:29:55 CEST 2012


Serhiy Storchaka <storchaka at gmail.com> added the comment:

> I wonder if this is a fair comparison, Serhiy.

I just used your examples.

> When re-running your tests with larger chunks, the results are quite interesting:

Well, now I see, that BytesIO slower StringIO.

----------

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


More information about the Python-bugs-list mailing list