New submission from Dong-hee Na <donghee...@python.org>:
This is a similar case with https://bugs.python.org/issue41902 A quite possible usecase when the user use range with big number ./python -m pyperf compare_to longrange_master.json longrange_opt.json Mean +- std dev: [longrange_master] 6.45 us +- 0.09 us -> [longrange_opt] 5.72 us +- 0.07 us: 1.13x faster (-11%) ---------- assignee: corona10 components: Interpreter Core files: bench_longrange.py messages: 379578 nosy: corona10, methane, vstinner priority: normal severity: normal status: open title: Micro optimization for longrange iteration if step is 1 type: performance versions: Python 3.10 Added file: https://bugs.python.org/file49539/bench_longrange.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42147> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com