This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients rhettinger
Date 2011-03-29.00:22:27
SpamBayes Score 0.00023377754
Marked as misclassified No
Message-id <1301358147.85.0.729395241348.issue11707@psf.upfronthosting.co.za>
In-reply-to
Content
For cases where the underlying comparison function is in C (strcoll for example), the pure Python dispatch in cmp_to_key dominates running time.  This can be reduced considerably by writing cmp_to_key in C, making its overhead as low or lower than the cost of bound method dispatch.
History
Date User Action Args
2011-03-29 00:22:27rhettingersetrecipients: + rhettinger
2011-03-29 00:22:27rhettingersetmessageid: <1301358147.85.0.729395241348.issue11707@psf.upfronthosting.co.za>
2011-03-29 00:22:27rhettingerlinkissue11707 messages
2011-03-29 00:22:27rhettingercreate