4 ms·
I should add that most of the Standard library will not often have many visibly dead code branches to prune. Most of what gets discarded is arguments and calls
by ncmncm 5y ago
I should add that most of the Standard library will not often have many visibly dead code branches to prune. Most of what gets discarded is arguments and calls to no-op functions, all the scaffolding. But there is a lot of that. So, for example, an iterator on std::function isn't typically a pointer, but after optimization the instructions left standing are the same as if it was one.
- ncmncm 5y agoOops: s/std::function/std::vector/