]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-140149: Use PyBytesWriter in _build_concatenated_bytes() (#140150)
authorMaurycy Pawłowski-Wieroński <5383+maurycy@users.noreply.github.com>
Thu, 16 Oct 2025 17:24:34 +0000 (19:24 +0200)
committerGitHub <noreply@github.com>
Thu, 16 Oct 2025 17:24:34 +0000 (19:24 +0200)
commit459d493ce3288cda7dcebb868970b199764502f5
tree84f45f915bf2cc8d53983775e36febffa856f3b5
parent5f357f3b0de0d937afb0154d0df7e0298c2523cf
gh-140149: Use PyBytesWriter in _build_concatenated_bytes() (#140150)

Use PyBytesWriter in action_helpers.c _build_concatenated_bytes().
3x faster bytes concat in the parser.

Co-authored-by: Victor Stinner <vstinner@python.org>
Misc/NEWS.d/next/Core_and_Builtins/2025-10-15-17-12-32.gh-issue-140149.cy1m3d.rst [new file with mode: 0644]
Parser/action_helpers.c