Skip to content

Conversation

@JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Jul 6, 2025

Previously only Python str and bytes literals were supported, but
sometimes we want zero-terminated C string literals instead. They
don't need to be allocated from the heap and are usually stored in a
read-only data section, so they are more efficient in some use cases.

These will be useful for a feature I'm working on.

JukkaL added 4 commits July 6, 2025 12:22
Previously only Python str and bytes literals were supported, but
sometimes we want zero-terminated C string literals instead. They
don't need to be allocated from heap and are usually stored in a
read-only data section, so they are more efficient in some use cases.
@JukkaL JukkaL merged commit b8dd6f3 into master Jul 7, 2025
13 checks passed
@JukkaL JukkaL deleted the mypyc-c-string branch July 7, 2025 13:16
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.

3 participants