[issue34436] Overallocation is never disabled in _PyBytes_FormatEx()

STINNER Victor report at bugs.python.org
Thu Aug 23 03:05:22 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

bytes % args has been optimized using the _PyBytesWriter API in bpo-25349: commit fa7762ec066aa3632a25b6a52bb7597b8f17c2f3.

I converted my old benchmark from bpo-25349 to my new perf module:
https://github.com/vstinner/pymicrobench/blob/master/bench_bytes_format_int.py

See also my article on _PyBytesWriter API: https://vstinner.github.io/pybyteswriter.html

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34436>
_______________________________________


More information about the Python-bugs-list mailing list