Commit 73e225b
Cache one datachunk per tstate to prevent alloc/dealloc thrashing when repeatedly hitting the same call depth at exactly the wrong boundary.
Move new _ts member to the end to not mess up remote debuggers' ideas of the
struct's layout. (The struct is only created by the runtime, and the new
field only used by the runtime, so it should be safe.)
(cherry picked from commit 706fd4e)
(cherry picked from commit 19cbcc0)
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
1 parent 450e9ea commit 73e225b
3 files changed
Lines changed: 29 additions & 4 deletions
File tree
- Include/cpython
- Misc/NEWS.d/next/Core_and_Builtins
- Python
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
| 204 | + | |
203 | 205 | | |
204 | 206 | | |
205 | 207 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1521 | 1521 | | |
1522 | 1522 | | |
1523 | 1523 | | |
| 1524 | + | |
1524 | 1525 | | |
1525 | 1526 | | |
1526 | 1527 | | |
| |||
1655 | 1656 | | |
1656 | 1657 | | |
1657 | 1658 | | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
1658 | 1664 | | |
1659 | 1665 | | |
1660 | 1666 | | |
| |||
2934 | 2940 | | |
2935 | 2941 | | |
2936 | 2942 | | |
2937 | | - | |
2938 | | - | |
2939 | | - | |
| 2943 | + | |
| 2944 | + | |
| 2945 | + | |
| 2946 | + | |
| 2947 | + | |
| 2948 | + | |
| 2949 | + | |
| 2950 | + | |
| 2951 | + | |
| 2952 | + | |
| 2953 | + | |
| 2954 | + | |
| 2955 | + | |
| 2956 | + | |
2940 | 2957 | | |
2941 | 2958 | | |
2942 | 2959 | | |
| |||
2972 | 2989 | | |
2973 | 2990 | | |
2974 | 2991 | | |
| 2992 | + | |
2975 | 2993 | | |
2976 | 2994 | | |
2977 | 2995 | | |
2978 | 2996 | | |
2979 | | - | |
2980 | 2997 | | |
| 2998 | + | |
| 2999 | + | |
| 3000 | + | |
| 3001 | + | |
| 3002 | + | |
2981 | 3003 | | |
2982 | 3004 | | |
2983 | 3005 | | |
| |||
0 commit comments