+ 1
What makes effect on compiling speed? How can I speed up compiling perfomance?
I have heared of that... I have seen challenges where I had to make code simple or somthing to make it compile faster. Or it only depends on computer?
2 odpowiedzi
0
I guess a little bit of both.
The length/complexity of your code is only part of it.
In programs written to support multi-platforms where you can use “makefiles”, that adds to complexity.
From my understanding, compiling is basically translating your code to assembly then or directly to “native” machine/binary code. Hence if there are more dependencies then it can take more time, especially if they are not optimized.
+ 1
Thank you