Message132448
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. |
|
Date |
User |
Action |
Args |
2011-03-29 00:22:27 | rhettinger | set | recipients:
+ rhettinger |
2011-03-29 00:22:27 | rhettinger | set | messageid: <1301358147.85.0.729395241348.issue11707@psf.upfronthosting.co.za> |
2011-03-29 00:22:27 | rhettinger | link | issue11707 messages |
2011-03-29 00:22:27 | rhettinger | create | |
|