Skip to content

bpo-39087: Make PyUnicode_AsUTF8AndSize faster.#17683

Closed
methane wants to merge 1 commit into
python:masterfrom
methane:utf8cache
Closed

bpo-39087: Make PyUnicode_AsUTF8AndSize faster.#17683
methane wants to merge 1 commit into
python:masterfrom
methane:utf8cache

Conversation

@methane

@methane methane commented Dec 23, 2019

Copy link
Copy Markdown
Member

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

methane commented Feb 3, 2020

Copy link
Copy Markdown
Member Author

Close this in favor of #18327.

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