[New-bugs-announce] [issue43287] Use PEP 590 vectorcall to speed up calls to filter()

Dong-hee Na report at bugs.python.org
Sun Feb 21 12:59:22 EST 2021


New submission from Dong-hee Na <donghee.na at python.org>:

+--------------+--------+----------------------+
| Benchmark    | master | vectorcall           |
+==============+========+======================+
| bench filter | 191 ns | 151 ns: 1.26x faster |
+--------------+--------+----------------------+

Like reversed(https://bugs.python.org/issue41922), it looks okay to update filter() to use PEP 590.

----------
components: Interpreter Core
files: filter_bench.py
messages: 387469
nosy: corona10, vstinner
priority: normal
severity: normal
status: open
title: Use PEP 590 vectorcall to speed up calls to filter()
versions: Python 3.10
Added file: https://bugs.python.org/file49825/filter_bench.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43287>
_______________________________________


More information about the New-bugs-announce mailing list