Dennis Sweeney <sweeney.dennis...@gmail.com> added the comment:
More microbenchmarks: pyperf timeit "bool()" Before: 63.1 ns +- 0.7 ns After: 51.7 ns +- 1.2 ns pyperf timeit "bool(0)" Before: 77.4 ns +- 1.9 ns After: 67.2 ns +- 1.3 ns pyperf timeit "bool(17)" Before: 77.3 ns +- 2.3 ns After: 67.1 ns +- 1.0 ns ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41356> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com