Repository navigation
Commit cf08dc2
pythongh-142183: Cache one datachunk per tstate to prevent alloc/dealloc thrashing (pythonGH-145789)
Cache one datachunk per tstate to prevent alloc/dealloc thrashing when repeatedly hitting the same call depth at exactly the wrong boundary.
---------
(cherry picked from commit 706fd4e)
Co-authored-by: T. Wouters <[email protected]>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>1 parent 17a9c26 commit cf08dc2
3 files changed
Lines changed: 28 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 | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
| |||
| 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