Scope & Structs

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sat Oct 12 13:11:52 UTC 2024


You are not wrong, when it is a struct, it is being heap allocated.

Looks like the optimization for classes, hasn't been applied to structs.

https://issues.dlang.org/show_bug.cgi?id=24806


More information about the Digitalmars-d-learn mailing list