What makes effect on compiling speed? How can I speed up compiling perfomance? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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?

16th Dec 2017, 5:49 PM
Sad
Sad - avatar
2 Answers
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.
16th Dec 2017, 6:07 PM
H Chiang
+ 1
Thank you
16th Dec 2017, 6:12 PM
Sad
Sad - avatar