More pre compiled headers for faster compilation (xpost from Eigen issue)

Just x-posting a nice issue from the Eigen gitlab. Someone found that they could get their programs to compile about 50% faster by using pre-compiled headers. We already use precompiled headers for some parts of stan, I wonder if we could do some profiling with ClangBuildAnalyzer and get an idea of the more common eigen instantiations we could pre-compile

7 Likes