STINNER Victor <vstin...@python.org> added the comment:
> In fact, PyObject_RichCompareBool() has a fast path if the two object > pointers are equal It's documented: https://docs.python.org/dev/c-api/object.html?highlight=pyobject_richcomparebool#c.PyObject_RichCompareBool ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39425> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com