Closed mortendahl closed 2 years ago
The entire computation is currently cloned in update_types_one_hop:
update_types_one_hop
pub(crate) fn update_types_one_hop(comp: &Computation) -> anyhow::Result<Option<Computation>> { let mut operations = comp.operations.clone(); ...
Maybe this can be avoided, not least if we allow update_types_one_hop to consume comp.
comp
The entire computation is currently cloned in
update_types_one_hop
:Maybe this can be avoided, not least if we allow
update_types_one_hop
to consumecomp
.