This repository was archived by the owner on Dec 10, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop to_bytes() in favor of inline UTF-8 encoding
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().
- Loading branch information