[issue41902] Micro optimization for range.index if step is 1
Ammar Askar
report at bugs.python.org
Thu Oct 1 19:17:11 EDT 2020
Ammar Askar <ammar at ammaraskar.com> added the comment:
Out of curiosity, what is the motivation for this optimization?
Is there reason to believe that range.index is performed often enough that it's worth the extra code and maintenance cost here?
----------
nosy: +ammar2
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41902>
_______________________________________
More information about the Python-bugs-list
mailing list