By ref and by pointer kills performance.

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Tue Feb 13 20:30:00 UTC 2024


On 14/02/2024 4:20 AM, ryuukk_ wrote:
> Wow, OOP people ruining performance for everybody, who would have thought..
> 
> That makes me worried now.. -betterC doesn't seem to change anything 
> about optimization, or rather, lack of optimization..

No, it isn't limited to classes, the same issue appears with reference 
counting.

Immutable simply isn't providing the guarantee of immutable.


More information about the Digitalmars-d mailing list