[issue41902] Micro optimization for range.index if step is 1

Dong-hee Na report at bugs.python.org
Thu Oct 1 09:49:49 EDT 2020


Dong-hee Na <donghee.na92 at gmail.com> added the comment:

For optimization case,

>>> a = range(0, 11111)
>>> a.index(3)
3

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41902>
_______________________________________


More information about the Python-bugs-list mailing list