[issue17628] str==str: compare the first character before calling memcmp()
Serhiy Storchaka
report at bugs.python.org
Thu Aug 15 09:24:22 CEST 2013
Serhiy Storchaka added the comment:
Perhaps it worth manually inline unicode_eq() in these tight inner loops. Then we can move "PyUnicode_GET_LENGTH(a) * PyUnicode_KIND(a)" out of the loop.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17628>
_______________________________________
More information about the Python-bugs-list
mailing list