Skip to content

bpo-39087: Make PyUnicode_AsUTF8AndSize faster. #17683

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

Closed
wants to merge 1 commit into from

Conversation

methane
Copy link
Member

@methane methane commented Dec 23, 2019

Reduce one allocation & memcpy of the PyUnicode_AsUTF8AndSize.

See https://discuss.python.org/t/better-api-for-encoding-unicode-objects-with-utf-8/2909 for discussion.

Ref: bpo-39087

@methane
Copy link
Member Author

methane commented Feb 3, 2020

Close this in favor of #18327.

@methane methane closed this Feb 3, 2020
@methane methane deleted the utf8cache branch February 3, 2020 12:20
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