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.
This commit is contained in:
Bruce Merry 2020-01-29 09:09:24 +02:00 committed by GitHub
parent 6a65eba44b
commit d07d9f4c43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 19 deletions

View file

@ -1106,6 +1106,7 @@ Ezio Melotti
Doug Mennella
Dimitri Merejkowsky
Brian Merrell
Bruce Merry
Alexis Métaireau
Luke Mewburn
Carl Meyer