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 Mark.Shannon
Recipients Mark.Shannon, carljm, corona10, dino.viehland, eelizondo, gregory.p.smith, nascheme, pablogsal, pitrou, shihai1991, steve.dower, tim.peters, vstinner
Date 2020-04-20.12:44:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587386654.65.0.119468905341.issue40255@roundup.psfhosted.org>
In-reply-to
Content
Eddie,
How did you compare the branching vs. non-branching implementations?  I have read the code in the PR. What is the non-branching version that you used to compare it against?

Why not use the sign bit as the immortal bit? It simplifies the test considerably, making it faster, and doesn't need any assembly code.

Are you suggesting that making a set of common objects immortal will make things faster? Have you tested it?
(I would expect that the negative impact on branch predictability would easily outweigh the cost of the memory write (A guaranteed L1 hit).
History
Date User Action Args
2020-04-20 12:44:14Mark.Shannonsetrecipients: + Mark.Shannon, tim.peters, nascheme, gregory.p.smith, pitrou, vstinner, carljm, dino.viehland, steve.dower, corona10, pablogsal, eelizondo, shihai1991
2020-04-20 12:44:14Mark.Shannonsetmessageid: <1587386654.65.0.119468905341.issue40255@roundup.psfhosted.org>
2020-04-20 12:44:14Mark.Shannonlinkissue40255 messages
2020-04-20 12:44:14Mark.Shannoncreate