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 zmwangx
Recipients barry, methane, ned.deily, ronaldoussoren, tdsmith, zmwangx
Date 2018-02-06.19:52:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517946757.93.0.467229070634.issue32616@psf.upfronthosting.co.za>
In-reply-to
Content
Turns out python 2.7.10 doesn't suffer from the performance issue even when compiled with stock clang 4.x, and upon further investigation, I tracked down the commit that introduced the regression:

    commit 2c992a0788536087bfd78da8f2c62b30a461d7e2
    Author: Benjamin Peterson <benjamin@python.org>
    Date:   Thu May 28 12:45:31 2015 -0500
    
        backport computed gotos (#4753)

So Naoki was right that computed gotos is (solely) to blame here.
History
Date User Action Args
2018-02-06 19:52:37zmwangxsetrecipients: + zmwangx, barry, ronaldoussoren, ned.deily, methane, tdsmith
2018-02-06 19:52:37zmwangxsetmessageid: <1517946757.93.0.467229070634.issue32616@psf.upfronthosting.co.za>
2018-02-06 19:52:37zmwangxlinkissue32616 messages
2018-02-06 19:52:37zmwangxcreate