[New-bugs-announce] [issue44889] Specialize LOAD_METHOD with PEP 659 adaptive interpreter
Ken Jin
report at bugs.python.org
Wed Aug 11 08:43:20 EDT 2021
New submission from Ken Jin <kenjin4096 at gmail.com>:
Possible specializations:
- LOAD_METHOD_CACHED
Cache the method. We only need to check that type(o) and o.__dict__ was not modified.
- LOAD_METHOD_CLASS
For classmethods. Less speedup expected.
- LOAD_METHOD_MODULE
For module methods. Uncommon (<10%).
Please see https://github.com/faster-cpython/ideas/issues/81 for more details.
----------
components: Interpreter Core
messages: 399388
nosy: kj
priority: normal
severity: normal
status: open
title: Specialize LOAD_METHOD with PEP 659 adaptive interpreter
versions: Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44889>
_______________________________________
More information about the New-bugs-announce
mailing list