News for hackers. Stuff that matters.
Re:Rusty Ownership and the Lifecycle’s Stone by kaba0 on Monday November 28, 2022 @04:00AM (#33771283)
Well, clones can sometimes make it faster (e.g. when you use multiple threads that can work independently, synchronization will have a much higher overhead than a literally insanely fast, predictable memory-to-memory copy). And then the compiler may very well be able to elide the copy, it only needs it for semantics.

There are no comments on this comment yet.