New submission from Dong-hee Na <donghee.n...@gmail.com>:
bool type is well-used builtin types, I noticed that if we use vector call to bool type, it shows the awesome performance enhancement. Mean +- std dev: [master] 91.4 us +- 3.3 us -> [vectorcall] 48.6 us +- 3.1 us: 1.88x faster (-47%) ---------- assignee: corona10 files: bench_bool.py messages: 377565 nosy: corona10, vstinner priority: normal severity: normal status: open title: Use PEP 590 vectorcall to speed up calls to bool() type: performance versions: Python 3.10 Added file: https://bugs.python.org/file49475/bench_bool.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41870> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com