Optimize PySequence_GetSlice
- copy CPython's implementation (that uses C slots) - implement the C slots for str and list - avoid doing a division for non-step slices
Showing
Please register or sign in to comment
- copy CPython's implementation (that uses C slots) - implement the C slots for str and list - avoid doing a division for non-step slices