Skip to content
Snippets Groups Projects
Unverified Commit 2ef73be8 authored by Pieter Eendebak's avatar Pieter Eendebak Committed by GitHub
Browse files

gh-91247: Use memcpy for list and tuple repeat (#91482)

* Add _Py_memory_repeat function to pycore_list

* Add _Py_RefcntAdd function to pycore_object

* Use the new functions in tuplerepeat, list_repeat, and list_inplace_repeat
parent 27055d76
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment