D slower than C++ in compile time
torhu
no at spam.invalid
Mon Feb 18 18:06:19 PST 2008
Frank Benoit wrote:
> For the DWT library this would lead to compile times >15 minutes!
>
I just tried building dwt-win with and without oneatatime enabled.
Compiler options are '-O -release -inline'. My PC is a 1.3 GHz athlon,
with 896 MB RAM and a fairly fast HD. I could have left out -inline,
but the time savings likely wouldn't be significant.
Results:
all at once: 2 mins 27 secs, 5.9MB .lib file
one at a time: 39 minutes, 17 MB .lib file
I only did this once, but I expect the results would be about the same
each time. This is pretty ugly.
dwt-win is 6.9 MB of code in 353 files, about the same size as Tango.
More information about the Digitalmars-d
mailing list