Serhiy Storchaka <storchaka+cpyt...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue45026> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com