3 ms·
> If you're talking about using to_owned or clone without reason, then it's fully on the developer. Well, if we could just make developers smarter then everyth
by lmm 6y ago
> If you're talking about using to_owned or clone without reason, then it's fully on the developer.
Well, if we could just make developers smarter then everything would be easy, but we can't. It's reasonable to ask whether real-world developers working in Rust end up doing enough extra copying to outweigh the overhead of a JVM-like garbage collector that would let them avoid ever manually copying.