]> granicus.if.org Git - python/commit
Speedup for PyObject_RichCompareBool(): PyObject_RichCompare() almost
authorGuido van Rossum <guido@python.org>
Sat, 24 Aug 2002 05:33:28 +0000 (05:33 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 24 Aug 2002 05:33:28 +0000 (05:33 +0000)
commit81912d4764eb8ccb1b069de46c7f78381f4b19a6
treedc3ca526440c32fea11b229f07cc4c3b4a8dc524
parentd50185127f5cdc7241e5aa80d4d174113bf43b52
Speedup for PyObject_RichCompareBool(): PyObject_RichCompare() almost
always returns a bool, so avoid calling PyObject_IsTrue() in that
case.
Objects/object.c