Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: