Message233196
Proposed patch makes comparation method generated by the total_ordering decorator faster up to 20%.
Benchmark results:
Unpatched Patched
a < b 2.46 2.45
b < a 2.48 2.49
a >= b 4.86 4.16
b >= a 5.1 4.16
a <= b 4.93 4.15
b <= a 7.31 5.98
a > b 5.25 4.38
b > a 8.11 7.04
It also adds few additional attributes to generated methods. |
|
Date |
User |
Action |
Args |
2014-12-30 09:22:09 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, ncoghlan |
2014-12-30 09:22:09 | serhiy.storchaka | set | messageid: <1419931329.13.0.970719266671.issue23132@psf.upfronthosting.co.za> |
2014-12-30 09:22:08 | serhiy.storchaka | link | issue23132 messages |
2014-12-30 09:22:08 | serhiy.storchaka | create | |
|