Hacker News new | ask | show | jobs
by wyldfire 1889 days ago
I clone all the time to make the borrow checker leave me alone. If this code shows up as a hot spot in a profile I can spend the extra energy to optimize it.

I hope to evolve my understanding so that I can do the right thing at design time to minimize unnecessary clone()s.