Why do static arrays affect executable size?

Bastiaan Veelo via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Feb 11 06:58:14 PST 2017


On Saturday, 11 February 2017 at 00:16:04 UTC, sarn wrote:
> If you explicitly initialise the array to all 0.0, you should 
> see it disappear from the binary.

I was actually wondering whether initialisation would make a 
difference, so thank you for this.

Bastiaan.


More information about the Digitalmars-d-learn mailing list