Author serhiy.storchaka
Recipients haypo, rhettinger, serhiy.storchaka, tim.peters, wbolster
Date 2017-07-14.05:55:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500011760.11.0.484878706457.issue30907@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-07-14 05:56:00serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, rhettinger, haypo, wbolster
2017-07-14 05:56:00serhiy.storchakasetmessageid: <1500011760.11.0.484878706457.issue30907@psf.upfronthosting.co.za>
2017-07-14 05:56:00serhiy.storchakalinkissue30907 messages
2017-07-14 05:55:59serhiy.storchakacreate