commit | fd8a1ec4863b8a53436dd45fd190b2fe3ac4b2a8 | [log] [tgz] |
---|---|---|
author | Jeffrey Yasskin <jyasskin@gmail.com> | Wed Dec 03 06:46:45 2008 +0000 |
committer | Jeffrey Yasskin <jyasskin@gmail.com> | Wed Dec 03 06:46:45 2008 +0000 |
tree | f42ad19c70d7f31b2c60c934b37ac1065f7c7d79 | |
parent | dee3c9c6065d201b0ffcfaa6372f75a3dee33383 [diff] |
Speed up Python (according to pybench and 2to3-on-itself) by 1-2% by caching whether any thread has tracing turned on, which saves one load instruction in the fast_next_opcode path in PyEval_EvalFrameEx(). See issue 4477.