it seems like a lot of the code in boost are compiler-specific workarounds or different paths for different compilers (especially in components like mpl). My build time increases a lot when I use boost, even when I try to hide the big parts behind compiler-firewalls (PIMPL) or use precompiled headers.
Is there a way to pre-process the boost headers for the one compiler I'm actually using? I suspect that anything that makes the headers (significantly?) smaller will have some impact. Has anyone ever tested whether that would actually give speed improvements?
No idea whether that matters much for the actual answer, but I'm using Visual Studio 2010 primarily.