mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
gh-87729: specialize LOAD_SUPER_ATTR_METHOD (#103809)
This commit is contained in:
parent
cef542ca57
commit
ef25febcf2
14 changed files with 539 additions and 357 deletions
|
|
@ -1 +1,4 @@
|
|||
Add :opcode:`LOAD_SUPER_ATTR` to speed up ``super().meth()`` and ``super().attr`` calls.
|
||||
Add :opcode:`LOAD_SUPER_ATTR` (and a specialization for ``super().method()``) to
|
||||
speed up ``super().method()`` and ``super().attr``. This makes
|
||||
``super().method()`` roughly 2.3x faster and brings it within 20% of the
|
||||
performance of a simple method call. Patch by Vladimir Matveev and Carl Meyer.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue