Object.toString, toHash, opCmp, opEquals

Walter Bright newshound2 at digitalmars.com
Fri Apr 26 20:27:43 UTC 2024


On 4/25/2024 11:10 PM, Richard (Rikki) Andrew Cattermole wrote:
> With struct destructors the unwinding table should already be in use.
> So it is a cost we are already paying, that shouldn't be something to worry 
> about as it is not a new cost.

Structs are passed around by ref all the time to avoid this cost. With RC, that 
goes out the window.


> DIP1000 isn't doing what I would expect it 
> to do for slices:

Please file bug reports, and tag DIP1000 bugs with the "safe" keyword.

Also, this is drifting off topic. If you want to continue, please start a new 
thread.



More information about the Digitalmars-d mailing list