STINNER Victor added the comment: "I will benchmark the overhead of memcmp() on short strings. We may check the first and last characters before calling memcmp() to limit the overhead of calling a function."
I created the issue #17628 for this point. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16286> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com