Generating struct .init at run time?

Basile B. b2.temp at gmx.com
Thu Jul 2 10:40:01 UTC 2020


On Thursday, 2 July 2020 at 10:37:27 UTC, kinke wrote:
> I don't think a struct should ever be that large, as it can 
> probably only live on the heap anyway and only passed around by 
> refs. I'd probably use a thin struct instead, containing and 
> managing a `double[]` member (or `double[elementCount]*`).

so right but the compiler should definitively not crash.



More information about the Digitalmars-d-learn mailing list