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

There are optimizable points that can be achieved by removing unnecessary tuple 
transformation and using vector calling convention.

+---------------+--------+----------------------+
| Benchmark     | base   | opt                  |
+===============+========+======================+
| bench pattern | 482 ns | 417 ns: 1.15x faster |
+---------------+--------+----------------------+

----------
components: Interpreter Core
files: bench_pattern.py
messages: 400549
nosy: corona10
priority: normal
severity: normal
status: open
title: Optimize mapping patterns of structural pattern matching
type: performance
versions: Python 3.11
Added file: https://bugs.python.org/file50240/bench_pattern.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45045>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to