Bug 9995 – Long compilation time with std.net.curl import

Status
NEW
Severity
minor
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2013-04-26T09:42:32Z
Last change time
2024-12-13T18:06:26Z
Assigned to
No Owner
Creator
bearophile_hugs
Moved to GitHub: dmd#18571 →

Comments

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
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18571 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB