This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients mark.dickinson, rhettinger, serhiy.storchaka, vstinner
Date 2014-05-03.22:15:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399155359.71.0.292905309603.issue21422@psf.upfronthosting.co.za>
In-reply-to
Content
Every branch has a cost (in particular, it tends to contaminate global branch prediction tables and blow other code out of the L1 code cache).  The cost isn't big, but branches shouldn't be added unless we know there is a real benefit.

I would think that in real-world code, this branch will almost never be taken.  The common case will pay a price (albiet a small one) for almost zero benefit.
History
Date User Action Args
2014-05-03 22:15:59rhettingersetrecipients: + rhettinger, mark.dickinson, vstinner, serhiy.storchaka
2014-05-03 22:15:59rhettingersetmessageid: <1399155359.71.0.292905309603.issue21422@psf.upfronthosting.co.za>
2014-05-03 22:15:59rhettingerlinkissue21422 messages
2014-05-03 22:15:59rhettingercreate