On Borrow Checking

Walter Bright newshound2 at digitalmars.com
Thu May 1 06:08:42 UTC 2025


On 4/30/2025 7:28 PM, Richard (Rikki) Andrew Cattermole wrote:
> Why are you treating these as new costs? I don't understand.
> They are already being paid for with copy constructors and destructors.

Pointers and references are used to avoid needing copy/destroy


> However, for a dedicated solution:

It's an interesting approach. I recommend hand-coding it, and testing the 
performance.



More information about the Digitalmars-d mailing list