]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Optimize byteswriter_resize() (#139101)
authorVictor Stinner <vstinner@python.org>
Thu, 18 Sep 2025 09:52:16 +0000 (10:52 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Sep 2025 09:52:16 +0000 (09:52 +0000)
commit9f7bbafffe1e2c025bb54b20388c9eb45edaebf5
treed487ee35240736d754d9d143d7c5f81f8283f255
parentd1904b91cbe3b87f419307e74bbf24a368be501a
gh-129813, PEP 782: Optimize byteswriter_resize() (#139101)

There is no need to copy the small_buffer in PyBytesWriter_Create().
Objects/bytesobject.c