Closed 1tnguyen closed 2 years ago
Since we're doing a deep copy of the Circuit, we can safely bypass the pointer validation performed in addInstruction (each new instruction is a newly-allocated memory).
addInstruction
This will significantly speed up the cloning of big circuits.
Since we're doing a deep copy of the Circuit, we can safely bypass the pointer validation performed in
addInstruction
(each new instruction is a newly-allocated memory).This will significantly speed up the cloning of big circuits.