Skip to content

Conversation

BobTheBuidler
Copy link
Contributor

@BobTheBuidler BobTheBuidler commented Oct 2, 2025

During the rtuple boxing stage, if any of the values are a known Literal type we can skip the struct access and just load the static literal. I had already tried doing this before but I don't think it was implemented robustly, this improves the identification of Literal types

BobTheBuidler and others added 2 commits October 1, 2025 22:51
During the rtuple boxing stage, if any of the values are a known Literal type we can skip the struct access and just load the static literal
@BobTheBuidler BobTheBuidler changed the title [mypyc] feat: implement try_getting_literal in preallocate helper [mypyc] feat: implement try_getting_literal in preallocate helper [1/1] Oct 2, 2025
@BobTheBuidler BobTheBuidler marked this pull request as draft October 2, 2025 03:00
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