commit | fd9e44db371f6e097b8756a004ac3783f7fb2df0 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Mon Nov 04 11:23:05 2013 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Mon Nov 04 11:23:05 2013 +0100 |
tree | e31413b55c0e03f18c43c360cfccd44b93c74468 | |
parent | c8bc5377ac59c6e6af5c0e925fa0af7d9df7ebc0 [diff] |
Issue #16286: optimize PyUnicode_RichCompare() for identical strings (same pointer) for any operator, not only Py_EQ and Py_NE. Code of bytes_richcompare() and PyUnicode_RichCompare() is now closer.