Mercurial > cpython-lru_cache-weakref
diff Python/errors.c @ 50134:eeef71dd3cce 2.6
Unblocked and merged revisions 67494 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67494 | jeffrey.yasskin | 2008-12-02 22:46:45 -0800 (Tue, 02 Dec 2008) | 5 lines
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.
........
| author | Jeffrey Yasskin <jyasskin@gmail.com> |
|---|---|
| date | Fri, 12 Dec 2008 21:25:13 +0000 |
| parents | d01c1d768841 |
| children | 3889d9528601 7e86fa255fc2 |
