Commit a97fa00
Andres Madrid Ucha
PartialExecuter: Avoid copying subsets in SplitIntoSCCS
Instead of constructing a subset and then copying it into subsets,
we can construct it locally and std::move it into subsets. This is
safe because the subset has no usage outside this scope, and all
the places where we were using it now refer to the moved-subset (subsets.back())1 parent 0b550c3 commit a97fa00
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1684 | 1684 | | |
1685 | 1685 | | |
1686 | 1686 | | |
1687 | | - | |
| 1687 | + | |
1688 | 1688 | | |
1689 | | - | |
1690 | | - | |
| 1689 | + | |
| 1690 | + | |
1691 | 1691 | | |
1692 | 1692 | | |
1693 | 1693 | | |
| |||
0 commit comments