long compile time 2.023 (few lines of code)
Saaa
empty at needmail.com
Fri Jan 23 09:49:47 PST 2009
The following code takes too long to compile (I kill link.exe to stop it)
dmd 2.023 bud -full - cleanup
--
module project.main;
import project.bug;
void main()
{
}
--
module project.bug;
struct Struct
{
uint number;
int[6] array;
byte[9] array2;
}
Struct structs[1_000_000];
--
Multiple variations on the struct seem to have the long compile time
effect.. allignment problem?
More information about the Digitalmars-d-learn
mailing list