Skip to content
This repository was archived by the owner on Dec 10, 2018. It is now read-only.

Drop to_bytes() in favor of inline UTF-8 encoding #211

Merged
merged 1 commit into from
Jun 28, 2016

Conversation

jparise
Copy link
Contributor

@jparise jparise commented Jun 23, 2016

We should only need to perform the UTF-8 encoding step when we are handed
a Unicode string, and performing the encoding inline lets Cython translate
this directly into a call to PyUnicode_AsUTF8String().

We should only need to perform the UTF-8 encoding step when we are handed
a Unicode string, and performing the encoding inline lets Cython translate
this directly into a call to PyUnicode_AsUTF8String().
@lxyu lxyu merged commit 43bd436 into Thriftpy:develop Jun 28, 2016
@jparise jparise deleted the cymemory-utf8 branch June 28, 2016 15:18
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants