-
- Downloads
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
Showing
- Include/internal/pycore_list.h 13 additions, 0 deletionsInclude/internal/pycore_list.h
- Include/internal/pycore_object.h 10 additions, 0 deletionsInclude/internal/pycore_object.h
- Misc/NEWS.d/next/Core and Builtins/2022-03-22-13-12-27.bpo-47091.tJcy-P.rst 1 addition, 0 deletions...ore and Builtins/2022-03-22-13-12-27.bpo-47091.tJcy-P.rst
- Objects/listobject.c 31 additions, 42 deletionsObjects/listobject.c
- Objects/tupleobject.c 18 additions, 23 deletionsObjects/tupleobject.c
Loading
Please register or sign in to comment