Message298340
The main drawback of this optimization perhaps is not tiny runtime overhead in common case, but the complication of the code. It adds at least 6 or 8 lines to every rich compare implementation.
On other hand, this optimization already is implemented for integers, strings, bytes and slices. |
|
Date |
User |
Action |
Args |
2017-07-14 05:56:00 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, rhettinger, vstinner, wbolster |
2017-07-14 05:56:00 | serhiy.storchaka | set | messageid: <1500011760.11.0.484878706457.issue30907@psf.upfronthosting.co.za> |
2017-07-14 05:56:00 | serhiy.storchaka | link | issue30907 messages |
2017-07-14 05:55:59 | serhiy.storchaka | create | |
|