[Issue 24052] DMD is slow to pass dlangui github pipelines

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 21 09:44:47 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=24052

--- Comment #4 from Dennis <dkorpel at live.nl> ---
(In reply to Grim Maple from comment #3)
> Tested on my local machine, it is `dub build -b=release` that causes a slow
> compile time. Not necessarily on example1, dlangui itslef takes ages to
> compile too.

You're right. I found that the culprit is the recursive function
src/dlangui/graphics/resources.d : embedResources being inlined. Adding
pragma(inline, false) fixes it, so this is indeed a duplicate of issue 23857.

--


More information about the Digitalmars-d-bugs mailing list