-
Notifications
You must be signed in to change notification settings - Fork 51
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
Optimizing super().meth()
via adaptive superinstructions
#242
Comments
CPython PR is at python/cpython#30992. |
@markshannon your 3.11 TODO reminded me that this is dead in the water. Do you think this will ever be worth it? With the new inline cache infrastructure. It is easier to share caches across multiple instructions. But IMO the complexity involved makes it unpalatable. For the record, the PR above measured no speedups in pyperformance, but in |
Hi @Fidget-Spinner I'm a little confused about what you're saying at the end. I understand the PR (that won't ever be merged) saw a 2.2 speedup. After that, are you saying that in the main branch, super().meth() is now 10% slower than self.meth(), which is an improvement over that ratio for 3.10? |
@gvanrossum Sorry, I meant specifically in that PR, On main, it should still be around 2x slower. Although we optimized |
@Fidget-Spinner Do we still need this issue? |
@gvanrossum Nope. Carl has has merged his version, so it's done. |
Please see #239 for the discussion and https://bugs.python.org/issue46564 for the BPO.
The text was updated successfully, but these errors were encountered: