Commit a812905
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 <thomas@python.org>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
1 parent 717ebd7 commit a812905
File tree
3 files changed
+28
-4
lines changed- Include/cpython
- Misc/NEWS.d/next/Core_and_Builtins
- Python
3 files changed
+28
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| |||
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 | |
|---|---|---|---|
| |||
1575 | 1575 | | |
1576 | 1576 | | |
1577 | 1577 | | |
| 1578 | + | |
1578 | 1579 | | |
1579 | 1580 | | |
1580 | 1581 | | |
| |||
1714 | 1715 | | |
1715 | 1716 | | |
1716 | 1717 | | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
1717 | 1723 | | |
1718 | 1724 | | |
1719 | 1725 | | |
| |||
3029 | 3035 | | |
3030 | 3036 | | |
3031 | 3037 | | |
3032 | | - | |
3033 | | - | |
3034 | | - | |
| 3038 | + | |
| 3039 | + | |
| 3040 | + | |
| 3041 | + | |
| 3042 | + | |
| 3043 | + | |
| 3044 | + | |
| 3045 | + | |
| 3046 | + | |
| 3047 | + | |
| 3048 | + | |
| 3049 | + | |
| 3050 | + | |
| 3051 | + | |
3035 | 3052 | | |
3036 | 3053 | | |
3037 | 3054 | | |
| |||
3067 | 3084 | | |
3068 | 3085 | | |
3069 | 3086 | | |
| 3087 | + | |
3070 | 3088 | | |
3071 | 3089 | | |
3072 | 3090 | | |
3073 | 3091 | | |
3074 | | - | |
3075 | 3092 | | |
| 3093 | + | |
| 3094 | + | |
| 3095 | + | |
| 3096 | + | |
| 3097 | + | |
3076 | 3098 | | |
3077 | 3099 | | |
3078 | 3100 | | |
| |||
0 commit comments