This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 89b1569
committed
Auto merge of rust-lang#129771 - bvanjoi:donot-clone-old-syntax-context, r=<try>
dont clone old syntax context
I guess this regression was caused by too many clones, so this is an attempt to use the old value rather than cloning it. Perhaps a better approach would be to ensure that only the substantial fields mentioned in this [comment](rust-lang#127279 (comment)) are cacheable.
Anyway, let's run a perf test to see if this can solve the problem.
r? `@pnkfelix` or `@petrochenkov`1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1420 | 1420 | | |
1421 | 1421 | | |
1422 | 1422 | | |
1423 | | - | |
| 1423 | + | |
| 1424 | + | |
1424 | 1425 | | |
1425 | 1426 | | |
1426 | 1427 | | |
| |||
0 commit comments