Inlining call frames in BEFORE_WITH/BEFORE_ASYNC_WITH
#398
Fidget-Spinner
started this conversation in
Ideas
Replies: 1 comment
-
|
I doubt it is worth it adding the complexity. I'd rather break apart |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Recently I noticed a lot of use patterns like this (especially in aiohttp):
I wonder if we should try making
__aenter__and__aexit__stackless in theBEFORE_ASYNC_WITHinstruction and its non asnyc counterpartBEFORE_WITH. This will work similarly to__getitem__inBINARY_SUBSCR. This will likely show zero speedup in pyperformance, but if may move something like the aiohttp benchmark in Pyston.Asking around before I invest time into this because it may not be worth the effort.
Beta Was this translation helpful? Give feedback.
All reactions