You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Speed up bytearray creation from list and tuple #91149
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2022-03-15.14:49:22.422>created_at=<Date2022-03-12.09:40:17.081>labels= ['interpreter-core', '3.11', 'performance']
title='Speed up bytearray creation from list and tuple'updated_at=<Date2022-03-15.14:49:22.422>user='https://github.com/kumaraditya303'
Activity
kumaraditya303 commentedon Mar 12, 2022
The attached PR speeds up bytearray creation from list and tuple.
Benchmark (uses pyperf):
-----------------------------------------------------
Results:
-----------------------------------------------------
Mean +- std dev: [base] 74.8 us +- 5.5 us -> [patch] 53.2 us +- 3.3 us: 1.41x faster
-----------------------------------------------------
asvetlov commentedon Mar 15, 2022
New changeset 6dfe09f by Kumar Aditya in branch 'main':
bpo-46993: Speed up bytearray creation from list and tuple (GH-31834)
6dfe09f