[DRAFT] Box ast::Pat in more places - #158708
Conversation
As is done for `ast::Expr`.
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
[DRAFT] Box `ast::Pat` in more places
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (89e945d): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @rustbot label: -S-waiting-on-perf -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)This perf run didn't have relevant results for this metric. CyclesResults (secondary -3.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 485.944s -> 485.003s (-0.19%) |
|
I did #146221 not long ago. I had tried to include |
|
Yeah, it's a trade-off. |
|
I tried with For |
|
Pat was also a regression until I extracted some cold paths, so I wonder if that could be taken a bit further. But yeah, point taken. There's value in following a pattern. I had hoped there could be more of a win with removing boxes but the reality seems to be more like neutral or worse. |
As is done for
ast::Expr.