Commit 2892cbb
authored
Rollup merge of rust-lang#148600 - folkertdev:pass-indirectly-reuse-attrs, r=JonathanBrouwer
re-use `self.get_all_attrs` result for pass indirectly attribute
Could be a fix for a potential performance regression reported here rust-lang#144529 (comment). Apparently the regression later disappeared. Nevertheless, this seems like a decent refactor.
r? ``@JonathanBrouwer`` (vaguely attribute-related, maybe there are other optimizations to that PR that we're missing)1 file changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1512 | 1512 | | |
1513 | 1513 | | |
1514 | 1514 | | |
1515 | | - | |
1516 | | - | |
1517 | | - | |
| 1515 | + | |
| 1516 | + | |
1518 | 1517 | | |
1519 | 1518 | | |
1520 | 1519 | | |
| |||
1574 | 1573 | | |
1575 | 1574 | | |
1576 | 1575 | | |
1577 | | - | |
1578 | | - | |
1579 | | - | |
1580 | | - | |
| 1576 | + | |
1581 | 1577 | | |
1582 | 1578 | | |
1583 | 1579 | | |
| |||
0 commit comments