]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36051: Drop GIL during large bytes.join() (GH-17757)
authorBruce Merry <bmerry@gmail.com>
Wed, 29 Jan 2020 07:09:24 +0000 (09:09 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Jan 2020 07:09:24 +0000 (16:09 +0900)
commitd07d9f4c43bc85a77021bcc7d77643f8ebb605cf
tree1a34ea430e52347e71547a55e4fd994634bd3358
parent6a65eba44bfd82ccc8bed4b5c6dd6637549955d5
bpo-36051: Drop GIL during large bytes.join() (GH-17757)

Improve multi-threaded performance by dropping the GIL in the fast path
of bytes.join. To avoid increasing overhead for small joins, it is only
done if the output size exceeds a threshold.
Lib/test/test_bytes.py
Misc/ACKS
Misc/NEWS.d/next/Core and Builtins/2019-12-30-15-56-07.bpo-36051.imaVlq.rst [new file with mode: 0644]
Objects/stringlib/join.h