]> granicus.if.org Git - python/commit
docompare(): Another reasonable optimization from Jonathan Hogg for the
authorTim Peters <tim.peters@gmail.com>
Mon, 15 Jul 2002 05:16:13 +0000 (05:16 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 15 Jul 2002 05:16:13 +0000 (05:16 +0000)
commit58cf361e35ba64f51b30e75737720bc73c7f6f2e
tree9874500af2262f6f36f40ce4d2e645c68395cb69
parent155adbdcbb18a8eb66826034bff391f3cb0059a6
docompare():  Another reasonable optimization from Jonathan Hogg for the
explicit comparison function case:  use PyObject_Call instead of
PyEval_CallObject.  Same thing in context, but gives a 2.4% overall
speedup when sorting a list of ints via list.sort(__builtin__.cmp).
Misc/ACKS
Objects/listobject.c