Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 25, 2019

Add a fast-path to PyUnicode_Decode() for size equals to 0.

https://bugs.python.org/issue37388

Add a fast-path to PyUnicode_Decode() for size equals to 0.
@vstinner
Copy link
Member Author

PyUnicode_FromEncodedObject() already has the same fast-path.

@vstinner vstinner merged commit ed076ed into python:master Jun 25, 2019
@vstinner vstinner deleted the unicode_decode0 branch June 25, 2019 23:49
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
Add a fast-path to PyUnicode_Decode() for size equals to 0.
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
Add a fast-path to PyUnicode_Decode() for size equals to 0.
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