Zhiming Wang <zmwa...@gmail.com> added the comment: 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 <benja...@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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32616> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com