STINNER Victor <vstin...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue34436> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com