Description
There's nothing wrong with a few clone()
s scattered about in places to satisfy the borrow checker, but there are literally hundreds of them in HyperQuark at the moment, many of which are probably operating on potentially quite large data structures. Where possible, clone
s should be avoided. clone
ing an Rc
is fine and inevitable of course and perhaps more references (or smart pointers of some sort) should be used to help this.