3 ms·
And trashes incremental compilation time, which is what really matters.
by ori_b 9y ago
And trashes incremental compilation time, which is what really matters.
- swift 9y agoIt's a balance, but on many projects the overhead of the headers themselves is so large that concatenating a few .cpp files together doesn't increase incremental compilation time significantly over simply building each .cpp file in isolation.
- pjc50 9y agoIncremental compilation opportunities are rarer than we'd like on C++: as soon as you add a new class member or function, that's potentially a huge recompile.
- DiThi 9y agoYou can have all the files you're working on not concatenated.