Message231247
Indeed, PySequence_GetSlice() is used only in few performance non-critical places in the stdlib, PySequence_Set/DelSlice() are not used at all. So looks as this way doesn't speed up any code.
As for faster_PyEval_SliceIndex.patch see issue17576. May be such optimization is not always correct (only for exact PyLong). And why you pass through fast path only if -1<= Py_SIZE(v) <=1? |
|
Date |
User |
Action |
Args |
2014-11-16 14:32:59 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson, pitrou, scoder |
2014-11-16 14:32:59 | serhiy.storchaka | set | messageid: <1416148379.7.0.709724571246.issue18813@psf.upfronthosting.co.za> |
2014-11-16 14:32:59 | serhiy.storchaka | link | issue18813 messages |
2014-11-16 14:32:59 | serhiy.storchaka | create | |
|