Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
* If you post a timing script, it will make it easier for me to verify this across versions and across machine and for various input sizes. * If you have time, do run some benchmarks for _randbelow_without_getrandbits() * Try your change with and without the walrus operator. If it doesn't make a difference in the timings, let's us the non-walrus version which is more readable. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45976> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com