Hacker News new | ask | show | jobs
by mplanchard 1299 days ago
Huge is maybe a strong term. The cost of a clone is hugely dependent on the size of the data being cloned. Avoiding clones of large data structures is important, but even that is unlikely to be a bottleneck outside of a hot path.

Arcs can be expensive, but once you’ve got the sense for lifetimes, they aren’t that hard to avoid.