Ticket #438 (new enhancement)
Drop ref-counting for list index access
|Reported by:||scoder||Owned by:||somebody|
Description (last modified by scoder) (diff)
Follow-up for ticket #425: ref-counting can also be dropped for list index swap assignments, such as
cdef list l = [1,2,3,4,5] l, l = l, l
However, this requires changes to the way the __Pyx_GetItemInt*() functions work, as they may do their own Py_INCREF() implicitly.