// enum int maxarray = 0; enum int maxarray = 2_000_000;
double[maxarray] a, b, c, d; void main() {}Compiled using "dub build --arch=x86_64 --build=release" on Windows (DMD32 D Compiler v2.073.0), the exe size is 302_592 bytes v.s. 64_302_592 bytes, depending on the array length.
Is that normal?