New submission from Dong-hee Na <donghee...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue43575>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to