Stefan Behnel added the comment: > why you pass through fast path only if -1<= Py_SIZE(v) <=1?
It's usually enough, it's the fastest fast path, and it doesn't even need error handling. Any slicing where the slice calculation time matters is going to be of fairly limited size, often involving the values (!) 1 or -1 in the slice object fields, but definitely small integers. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18813> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com