Commit f0bca91
committed
perf(builtins): the list every list operation works on is borrowed, as is the list joined
Only the box that carries a list into a dynamic slot keeps it, so a
list whose last use is any other list operation or a join is released
there instead of being left to the collector.
git-bug: 3b55803520d2f3bf52cd49c690ea187c51fbdee7a95cdf2374db346a9fd5b04c1 parent 296158d commit f0bca91
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
272 | 275 | | |
273 | 276 | | |
274 | 277 | | |
| |||
1164 | 1167 | | |
1165 | 1168 | | |
1166 | 1169 | | |
1167 | | - | |
| 1170 | + | |
1168 | 1171 | | |
1169 | 1172 | | |
1170 | 1173 | | |
1171 | | - | |
| 1174 | + | |
1172 | 1175 | | |
1173 | 1176 | | |
1174 | 1177 | | |
| |||
1549 | 1552 | | |
1550 | 1553 | | |
1551 | 1554 | | |
1552 | | - | |
| 1555 | + | |
1553 | 1556 | | |
1554 | 1557 | | |
1555 | 1558 | | |
| |||
0 commit comments