Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-122361: Use proper PyUnicodeWriter_* API in constevaluator_call #122362

Merged
merged 2 commits into from
Jul 27, 2024

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Jul 27, 2024

Copy link
Member

@picnixz picnixz left a comment

Choose a reason for hiding this comment

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

How much is the overhead of using the public API instead of the (slightly, or perhaps more) faster private API?

Objects/typevarobject.c Outdated Show resolved Hide resolved
Objects/typevarobject.c Outdated Show resolved Hide resolved
Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

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

Thanks, thought I got all the warnings.

@sobolevn sobolevn merged commit 04eb5c8 into python:main Jul 27, 2024
37 checks passed
@sobolevn
Copy link
Member Author

How much is the overhead of using the public API instead of the (slightly, or perhaps more) faster private API?

Oups, sorry, @picnixz, I missed this question!
I don't really think that it really matters in this use-case :)

@picnixz
Copy link
Member

picnixz commented Jul 27, 2024

No worry (I also don't think it matters (I didn't know in which context it was being used actually))

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

Successfully merging this pull request may close these issues.

3 participants