[New-bugs-announce] [issue43575] map() instantiation time reducing by using PEP 590 vectorcall

Dong-hee Na report at bugs.python.org
Sat Mar 20 23:25:03 EDT 2021


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

+-----------+------------------+----------------------+
| Benchmark | map_bench_master | map_bench_vectorcall |
+===========+==================+======================+
| bench map | 151 ns           | 116 ns: 1.30x faster |
+-----------+------------------+----------------------+

We already apply this feature for filter().
No reason not to apply map().

----------
assignee: corona10
components: Interpreter Core
files: map_bench.py
messages: 389210
nosy: corona10, vstinner
priority: normal
severity: normal
status: open
title: map() instantiation time reducing by using PEP 590 vectorcall
type: performance
versions: Python 3.10
Added file: https://bugs.python.org/file49896/map_bench.py

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


More information about the New-bugs-announce mailing list