-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Open
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-JITtype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
The following code is common in some benchmarks, such as raytrace
x = 1
y = x
In raytrace, it happens in the form of the arguments being passed to the points.
We can strength reduce the y = x from a LOAD_FAST to a LOAD_CONST_INLINE_BORROW which is significantly faster in the JIT, as it eliminates a memory load from the heap.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-JITtype-featureA feature request or enhancementA feature request or enhancement