For readability we need `extend` which would work with iterators and expand `lcuts.extend([u.vertex, w.vertex])` to a loop of for x in [u.vertex, w.vertex]: lcuts.add(x) Run
which any decent compiler should unroll and optimize the array away.
For readability we need `extend` which would work with iterators and expand `lcuts.extend([u.vertex, w.vertex])` to a loop of for x in [u.vertex, w.vertex]: lcuts.add(x) Run
which any decent compiler should unroll and optimize the array away.