Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
bpo-46939: Specialize calls to Python classes (POSTCALL edition)#31936
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
bpo-46939: Specialize calls to Python classes (POSTCALL edition) #31936
Uh oh!
There was an error while loading. Please reload this page.
Conversation
Fidget-Spinner commented Mar 16, 2022 • edited by bedevere-bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-bot
Uh oh!
There was an error while loading. Please reload this page.
Fidget-Spinner commented Mar 16, 2022
Final alternative method, if we don't want all the stack manipulation: Downside is that decref during error handling is tricky. Current method of pushing things onto the stack handles that for us. |
markshannon commented Mar 16, 2022
Have you benchmarked this? |
Fidget-Spinner commented Mar 16, 2022
Not yet. I plan to do so tomorrow (your time). The results should be available by friday. |
Fidget-Spinner commented Mar 18, 2022 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
compare_to RETURN_VALUE hack PR -> POSTCALL: compare_to main->POSTCALL: |
Fidget-Spinner commented Mar 24, 2022 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@markshannon in short, Shall we go ahead with |
Fidget-Spinner commented Apr 6, 2022
|
Fidget-Spinner commented Apr 6, 2022 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
If this is accepted, I have one more specialization in mind before 3.11 beta. Namely, calls to Python classes with non-Python |
…ize_py_class_postcall
brandtbucher commented Nov 18, 2022
Should this be closed in favor of #99331? |
https://bugs.python.org/issue46939