3 ms·
2x release build compile time might not be a huge deal to you personally, but over thousands of builds that are happening every day, a 2x decrease in time would
by cLeEOGPw 13y ago
2x release build compile time might not be a huge deal to you personally, but over thousands of builds that are happening every day, a 2x decrease in time would mean a lot of saved processing power and electricity. Speed is always important in tools like compiler, so there is never a legitimate excuse for it to be slower than it could be.
- tenfingers 13y agoCannot deny that. And it's undoubtedly helpful also for continuous integration. Poor performance is never a good excuse. But my perception reading these articles is that the tone is different. There's seems to be a "huge problem with compilation speed in c++", that's also "a detrimental factor to using c++ itself" that I _never_ really experienced, except, like I said, in badly-organized projects. It always felt to me, by programming, that writing and debugging were _always_ the problem, never compilation itself. By reading these articles, it feels like I'm either too slow, or there is some magic that I would need to be doing to use the compiler 20x more than what I'm doing now.
- rwbt 13y agoUsually, when compiling projects that use Boost libraries which are sometimes very template heavy, the compile times are very long in my experience. Especially, something like the Boost Spirit.