Uh oh!
There was an error while loading. Please reload this page.
gh-131798: constant fold classmethod and staticmethod in JIT - #148331
gh-131798: constant fold classmethod and staticmethod in JIT#148331kumaraditya303 wants to merge 7 commits into
Conversation
kumaraditya303
commented
Apr 11, 2026
This can be done for class lookups as well so things like |
Fidget-Spinner
commented
Apr 12, 2026
I don't see any change in deltablue, but that's because it's using |
Fidget-Spinner
commented
Apr 12, 2026
This turned out to be harder than I thought, because it would fold the classmethod descriptor into a unbound method lookup rather than a bound one, which changes the following CALL_BOUND_METHOD_EXACT_ARGS in the trace. |
NekoAsakura
commented
Apr 13, 2026
The outer else doesn't set |
Uh oh!
There was an error while loading. Please reload this page.
markshannon
commented
Apr 15, 2026
That shouldn't be a problem for It would make sense for If we special case |
Fidget-Spinner
commented
Apr 15, 2026
Working on that. |
This PR is stale because it has been open for 30 days with no activity. |
Script used for benchmark: