[issue17742] Add _PyBytesWriter API

Serhiy Storchaka report at bugs.python.org
Thu Apr 18 18:05:07 CEST 2013


Serhiy Storchaka added the comment:

I run my own benchmarks and don't see any regression besides a random noise. Actually I see even speed up for some cases:

./python -m timeit -s "a = '\x80'*10000"  "a.encode()"

Before patch: 29.8 usec per loop, after patch: 21.5 usec per loop.
This is just a compiler's caprice.

----------

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


More information about the Python-bugs-list mailing list