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 vstinner
Recipients pitrou, serhiy.storchaka, vstinner
Date 2017-05-30.11:01:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496142111.35.0.411946848363.issue30509@psf.upfronthosting.co.za>
In-reply-to
Content
> I have other patch that makes `a + b` yet tens percents faster, faster than `a.__add__(b)`, by adding functions and declarations that are never used. Confusing.

It seems like you are a victim of the "deadcode" issue related to code locality:
https://haypo.github.io/journey-to-stable-benchmark-deadcode.html

To run microbenchmarks on such very tiny functions taken less than 200 ns, it's more reliable to compile Python using LTO+PGO.
History
Date User Action Args
2017-05-30 11:01:51vstinnersetrecipients: + vstinner, pitrou, serhiy.storchaka
2017-05-30 11:01:51vstinnersetmessageid: <1496142111.35.0.411946848363.issue30509@psf.upfronthosting.co.za>
2017-05-30 11:01:51vstinnerlinkissue30509 messages
2017-05-30 11:01:51vstinnercreate