]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Use PyUnicode_READ() instead of PyUnicode_READ_CHAR()
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 9 Apr 2013 19:48:24 +0000 (21:48 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 9 Apr 2013 19:48:24 +0000 (21:48 +0200)
commit69ed0f4c86e7004aa9867f3f104b76e858f26990
tree14ebeb16905d967993e833abf470574576ae5ba8
parent03c3e35d42a2f9855fca4beb89e5cbbefe2d9c21
Use PyUnicode_READ() instead of PyUnicode_READ_CHAR()

"PyUnicode_READ_CHAR() is less efficient than PyUnicode_READ() because it calls
PyUnicode_KIND() and might call it twice." according to its documentation.
Objects/unicodeobject.c