Skip to content

Conversation

BobTheBuidler
Copy link
Contributor

This PR is built on top of #19677 and implements exact_dict_rprimitive as the rtype for star2 args

# immortal, but since this is expected to be very rare, and the immortality checks
# can be pretty expensive for lists, we treat lists as non-immortal.
list_rprimitive: Final = RPrimitive(
"builtins.list", is_unboxed=False, is_refcounted=True, may_be_immortal=False
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we also skip the immortality check on exact_dict and on dict?

@BobTheBuidler
Copy link
Contributor Author

We don't have anything in any of our IR tests that this impacts? Should that be the case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant