diff options
author | Bruce Merry <bmerry@gmail.com> | 2020-01-29 07:09:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-29 07:09:24 (GMT) |
commit | d07d9f4c43bc85a77021bcc7d77643f8ebb605cf (patch) | |
tree | 1a34ea430e52347e71547a55e4fd994634bd3358 /Misc | |
parent | 6a65eba44bfd82ccc8bed4b5c6dd6637549955d5 (diff) | |
download | cpython-d07d9f4c43bc85a77021bcc7d77643f8ebb605cf.zip cpython-d07d9f4c43bc85a77021bcc7d77643f8ebb605cf.tar.gz cpython-d07d9f4c43bc85a77021bcc7d77643f8ebb605cf.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2019-12-30-15-56-07.bpo-36051.imaVlq.rst | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1106,6 +1106,7 @@ Ezio Melotti Doug Mennella Dimitri Merejkowsky Brian Merrell +Bruce Merry Alexis Métaireau Luke Mewburn Carl Meyer diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-12-30-15-56-07.bpo-36051.imaVlq.rst b/Misc/NEWS.d/next/Core and Builtins/2019-12-30-15-56-07.bpo-36051.imaVlq.rst new file mode 100644 index 0000000..f9d4492 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2019-12-30-15-56-07.bpo-36051.imaVlq.rst @@ -0,0 +1 @@ +Drop the GIL during large ``bytes.join`` operations. Patch by Bruce Merry. |