Factoid: Each class template instantiation costs 1KiB

Given that this has been the assumption in Clang for 15+ years, I would be pretty wary of trying to walk that back now. That has impacts on tooling, but also, reimplementing the template instantiation engine is something I think we want to avoid for as long as we can due to the risk (silent ABI changes due to template instantiation differences are a serious concern).

1 Like