Antoine Pitrou <[EMAIL PROTECTED]> added the comment: IMO PyUnicode_Compare() should be replaced by a hypothetical PyObject_RichCompare(), which allows to take shortcuts when comparing strings of different length and a Py_EQ or Py_NE comparison is requested. (see #3106 too)
---------- nosy: +pitrou _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1717> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com