[issue45026] More compact range iterator

Serhiy Storchaka report at bugs.python.org
Wed Sep 8 14:32:17 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I have not benchmarked PR 28176 yet and do not know whether it have advantages over PR 27986 and how large. Slower __lenght_hint__ can make list(range(...)) slower for small ranges, but I do not know how small.

----------

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


More information about the Python-bugs-list mailing list