Speed up compilation
Andre Pany
andre at s-e-a-p.de
Mon Apr 22 22:49:56 UTC 2019
On Monday, 22 April 2019 at 19:41:03 UTC, Alex wrote:
> Is there any way to speed of compiling a project(in Visual D)
> that changes very little but has a lot of dependencies that do
> not change?
>
> Seems like D is recompiling everything, and while it does it
> relatively fast, it's about 15+ seconds even if I just change a
> single character in the entire project such as a initial
> value(anything).
>
> Is compiling to object files going to help(Visual D does not do
> this as far as I know)?
>
> Ideally everything that doesn't change would not be recompiled.
This seems rather strange. Do you maybe set the dub flag --force
or -f which will cause a full rebuild? Or do you have a rather
old dub version?
I just guessing as I do not have experience with Visual D. I know
for direct dub usage or usage of Intellij, the dependencies are
built once, unless there is a need for rebuild.
Kind regards
Andre
More information about the Digitalmars-d
mailing list