gh-128213: fast path for bytes creation from list and tuple (#132590) · python/cpython@4702980 · GitHub
Skip to content

Commit 4702980

Browse files
eendebakptblhsingkumaraditya303
authored
gh-128213: fast path for bytes creation from list and tuple (#132590)
Co-authored-by: Ben Hsing <blhsing@gmail.com> Co-authored-by: Kumar Aditya <kumaraditya@python.org>
1 parent 051b168 commit 4702980

3 files changed

Lines changed: 69 additions & 67 deletions

File tree

Lines changed: 37 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Speed up :class:`bytes` creation from :class:`list` and :class:`tuple` of integers.
2+
3+
Patch by Ben Hsing and Pieter Eendebak

Objects/bytesobject.c

Lines changed: 29 additions & 67 deletions

0 commit comments

Comments
 (0)