-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Open
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
Description
Feature or enhancement
Proposal:
DELETE_GLOBAL could be removed by making STORE_GLOBAL handle a NULL value and replacing DELETE_GLOBAL with PUSH_NULL; STORE_GLOBAL.
This wouldn't have an effect on performance or code size, as STORE_GLOBAL would also need to do the job of DELETE_GLOBAL but it would free up an opcode for future use. Also, once #145854 and #145855 are implemented, it would make the bytecode for deletion more consistent.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Reactions are currently unavailable
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