diff options
author | Jeffrey Yasskin <jyasskin@gmail.com> | 2008-12-03 06:46:45 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@gmail.com> | 2008-12-03 06:46:45 +0000 |
commit | fd8a1ec4863b8a53436dd45fd190b2fe3ac4b2a8 (patch) | |
tree | f42ad19c70d7f31b2c60c934b37ac1065f7c7d79 /Lib/cgi.py | |
parent | dee3c9c6065d201b0ffcfaa6372f75a3dee33383 (diff) | |
download | cpython-git-fd8a1ec4863b8a53436dd45fd190b2fe3ac4b2a8.tar.gz |
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.
Diffstat (limited to 'Lib/cgi.py')
0 files changed, 0 insertions, 0 deletions