• Kevin Modzelewski's avatar
    Optimize PySequence_GetSlice · 5bd967f2
    Kevin Modzelewski authored
    - copy CPython's implementation (that uses C slots)
    - implement the C slots for str and list
    - avoid doing a division for non-step slices
    5bd967f2
list.cpp 36.7 KB