Author tim.peters
Recipients rhettinger, tim.peters, wbolster
Date 2017-07-13.05:15:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499922950.94.0.126983841613.issue30907@psf.upfronthosting.co.za>
In-reply-to
Content
Just noting that every special code path "at the start" doesn't just speed the case it's aiming at, it also _slows_ every case that doesn't pass the new tests.  It takes time to fail the new tests.  So it usually makes things slower overall, unless the new thing being tested for is in fact common enough to more than make up for marginally slowing everything else.

It's hard to believe that "container1 is container2" happens in container comparison often enough that special-casing it wouldn't be an overall loss.  I'm pretty sure it never occurs in any of my code ;-)
History
Date User Action Args
2017-07-13 05:15:50tim.peterssetrecipients: + tim.peters, rhettinger, wbolster
2017-07-13 05:15:50tim.peterssetmessageid: <1499922950.94.0.126983841613.issue30907@psf.upfronthosting.co.za>
2017-07-13 05:15:50tim.peterslinkissue30907 messages
2017-07-13 05:15:50tim.peterscreate