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

Dong-hee Na report at bugs.python.org
Thu Oct 1 12:21:43 EDT 2020


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

PR 22479 and PR 22480 are different approaches.

I (and Victor) want to check which approach might be better.

PR 22480 would affect overall long division performance
PR 22479 assumes that step=1 case is very often (e.g range(100), range(-100, 100))

----------

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


More information about the Python-bugs-list mailing list