Re:Trying out C++20's modules with Clang and Make
by jcelerier on Sunday October 15, 2023 @02:02PM
(#37891895)
Depends on the compiler, clang is able to pre-instantiate templates and generate debug info as part of its pch system - (for instance most likely you have some std::vector<int> which can be instantiated somewhere in a transitively included header).
In my projects enabling the relevant flags gave pretty nice speedups.
In my projects enabling the relevant flags gave pretty nice speedups.