Commit 008d8ef
committed
Merged revisions 67494 via svnmerge from
svn+ssh://[email protected]/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.
........1 parent fd24b32 commit 008d8ef
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
511 | 518 | | |
512 | 519 | | |
513 | 520 | | |
| |||
957 | 964 | | |
958 | 965 | | |
959 | 966 | | |
960 | | - | |
| 967 | + | |
| 968 | + | |
961 | 969 | | |
962 | 970 | | |
963 | 971 | | |
| |||
3162 | 3170 | | |
3163 | 3171 | | |
3164 | 3172 | | |
| 3173 | + | |
3165 | 3174 | | |
3166 | 3175 | | |
3167 | 3176 | | |
| |||
0 commit comments