8000 gh-87729: specialize LOAD_SUPER_ATTR_METHOD by carljm · Pull Request #103809 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-87729: specialize LOAD_SUPER_ATTR_METHOD #103809

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 38 commits into from
Apr 25, 2023
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
19b8025
Merge branch 'main' into superopt
carljm Apr 24, 2023
0de5bc6
Merge branch 'main' into superopt
carljm Apr 24, 2023
1972ca4
Merge branch 'superopt' into superopt_spec
carljm Apr 24, 2023
6858a6f
re-add comment
carljm Apr 24, 2023
dbe1665
Merge branch 'main' into superopt
carljm Apr 24, 2023
793a69a
Merge branch 'superopt' into superopt_spec
carljm Apr 24, 2023
af807d6
Merge branch 'main' into superopt_spec
carljm Apr 24, 2023
373cbc4
update previous NEWS entry
carljm Apr 24, 2023
3236f45
Merge branch 'main' into superopt_spec
carljm Apr 24, 2023
3d0e51a
credit Vlad
carljm Apr 24, 2023
c96d5c1
Merge branch 'main' into superopt_spec
ambv Apr 25, 2023
ad4008e
Merge branch 'main' into superopt_spec
carljm Apr 25, 2023
66d6271
Merge branch 'main' into superopt_spec
carljm Apr 25, 2023
fc6fcea
simplify LOAD_SUPER_ATTR, let specialization optimize
carljm Apr 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
credit Vlad
  • Loading branch information
carljm committed Apr 24, 2023
commit 3d0e51a72c4bde18830c9f2757cc530a897c7f67
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
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 Carl Meyer.
performance of a simple method call. Patch by Vladimir Matveev and Carl Meyer.
0