Uh oh!
There was an error while loading. Please reload this page.
Support track __slots__ object and its property in the Tier 2 optimizer #144145
Closed as duplicate of#144141
There was an error while loading. Please reload this page.
__slots__ object and its property in the Tier 2 optimizer #144145
Feature or enhancement
Proposal:
Currently, when the JIT optimizer encounters _LOAD_ATTR_SLOT, it creates a new unknown symbol (<!NULL>) even if the same slot was previously written in the same trace. This prevents the optimizer from:
To achieve these optimizations, we need:
__slots__objectHas this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs