Commit d374427
authored
Unbox the
This allows the iterator to be (reliably) properly monomorphised into
its usage sites. Since the dynamic `include_directives` call is almost
certainly given as a literal, I would strongly expect that even the
trivial overhead of the short-circuiting `||` operator will be compiled
out in all cases.DAGCircuit::op_nodes iterator (Qiskit#13680)1 parent dffc2df commit d374427
1 file changed
+7
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5668 | 5668 | | |
5669 | 5669 | | |
5670 | 5670 | | |
5671 | | - | |
5672 | | - | |
5673 | | - | |
5674 | | - | |
5675 | | - | |
5676 | | - | |
| 5671 | + | |
| 5672 | + | |
5677 | 5673 | | |
5678 | | - | |
5679 | | - | |
5680 | | - | |
5681 | | - | |
5682 | | - | |
5683 | | - | |
5684 | | - | |
5685 | | - | |
5686 | | - | |
5687 | | - | |
| 5674 | + | |
| 5675 | + | |
| 5676 | + | |
5688 | 5677 | | |
5689 | | - | |
5690 | | - | |
5691 | | - | |
5692 | | - | |
| 5678 | + | |
| 5679 | + | |
5693 | 5680 | | |
5694 | 5681 | | |
5695 | 5682 | | |
| |||
0 commit comments