-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Tier 2 optimizations for 3.13 #115419
Copy link
Copy link
Closed
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usagePerformance or resource usagetype-featureA feature request or enhancementA feature request or enhancement
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usagePerformance or resource usagetype-featureA feature request or enhancementA feature request or enhancement
Feature or enhancement
Prerequisites
Optimizations to be added to the tier 2 optimizer for 3.13
TO_BOOL#115685LOAD_ATTR_MODULEto a constant where the module is already a constant #115651BINARY_OP#115480Noneguards for constants #115819COMPARE_OP_INT/FLOAT/STR_CHECK_STACK_SPACE)frame.f_localsin a debugger or similar. #115709If we have time:
CONTAINS_OP#116381CALL_TUPLE_1for list and generator argumentsCALLin tier for type. Generate optimal argument handling code in tier 2.Linked PRs