summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBruce Merry <bmerry@gmail.com>2020-01-29 07:09:24 (GMT)
committerGitHub <noreply@github.com>2020-01-29 07:09:24 (GMT)
commitd07d9f4c43bc85a77021bcc7d77643f8ebb605cf (patch)
tree1a34ea430e52347e71547a55e4fd994634bd3358 /Misc
parent6a65eba44bfd82ccc8bed4b5c6dd6637549955d5 (diff)
downloadcpython-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/ACKS1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-12-30-15-56-07.bpo-36051.imaVlq.rst1
2 files changed, 2 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 7e4b81b..f3e3680 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -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.