@tiagofneto
For desnap operations we need Copy trait (it is actually free in Cairo because it can be optimized because memory is immutable).
If that's okay I will change Clone to Copy and try to leverage snapshots.
PS: Actually Clone might work similarly, but I've seen somewhere in the Cairo Book that Copy is optimized.
@tiagofneto For desnap operations we need
Copy
trait (it is actually free in Cairo because it can be optimized because memory is immutable). If that's okay I will changeClone
toCopy
and try to leverage snapshots.PS: Actually
Clone
might work similarly, but I've seen somewhere in the Cairo Book thatCopy
is optimized.