c++ - What compile speed improvement can I expect with modules in Visual Studio 2015 -
visual studio 2015 supports modules. i'm excited feature, , although know has important implications on , above build time, that's interest right now. i'm thinking of larger code bases of order of half million lines of code or more, have lot of #include
s in header files.
my previous approach have been manually or automatically remove unnecessary includes in favor of forward declarations, etc, , use precompiled headers. result typically significant improvement in build times, memory of order of 2-3 times. seems should consider using modules, might lot less effort , deliver arguably better engineered , more future-proof solution.
can comment potential effect on compile speed of going down module route instead, larger code bases measured in 100s of thousands or millions of lines of code?
Comments
Post a Comment