Comment #0 by bearophile_hugs — 2013-04-26T09:42:32Z
I don't know if this should be considered as a problem, but this little program:
import std.net.curl;
void main() {}
in some cases takes a long time to compile:
Compilation times, seconds:
<no switches>: 1.17
-O -inline -release: 1.40
-O -inline -noboundscheck: 1.42
-noboundscheck -release: 1.14
-inline -noboundscheck -release: 6.34
-O -inline -noboundscheck -release: 23.53
Comment #1 by hsteoh — 2014-08-29T15:01:55Z
Does this still happen? On git HEAD (Linux/64) it compiles within 1-2 seconds for me.
Comment #2 by bearophile_hugs — 2014-08-30T08:34:50Z
(In reply to hsteoh from comment #1)
> Does this still happen? On git HEAD (Linux/64) it compiles within 1-2
> seconds for me.
On the same system (Windows 32 bit) with -O -inline -noboundscheck -release dmd 2.067alpha takes about 5 seconds (and 420 MB RAM, that is a lot for such program), so the timing is much better.
Comment #3 by robert.schadek — 2024-12-13T18:06:26Z