[New-bugs-announce] [issue46481] Implement vectorcall protocol for weakref_call()

Dong-hee Na report at bugs.python.org
Sun Jan 23 01:50:14 EST 2022


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

Triggered by Victor's suggestion:

- Well-used.
- Easy to enhance performance.
- Performance enhancement is notable.
Mean +- std dev: [weakref_base] 49.3 ns +- 2.2 ns -> [weakref_vectorcall] 27.7 ns +- 0.9 ns: 1.78x faster

----------
assignee: corona10
components: Interpreter Core
files: bench_weakref.py
messages: 411350
nosy: corona10, vstinner
priority: normal
severity: normal
status: open
title: Implement vectorcall protocol for weakref_call()
type: performance
versions: Python 3.11
Added file: https://bugs.python.org/file50578/bench_weakref.py

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


More information about the New-bugs-announce mailing list