New submission from Ken Jin <kenjin4...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue44889>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to