Closed milkey-mouse closed 5 years ago
We could always get rid of the Arc altogether and use normal references; there isn't any multithreading, and even when there is, it won't touch most of what's wrapped in Arc
right now.
I just realized this won't work anywhere we have trait objects, which is most places. Nevermind.
Use
.clone()
on theArc
itself and it merely increments the reference. A reference to an Arc is kind of redundant.We could always get rid of the
Arc
altogether and use normal references; there isn't any multithreading, and even when there is, it won't touch most of what's wrapped inArc<T>
right now.