Hacker News new | ask | show | jobs
by ncmncm 1719 days 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.
1 comments

Oops: s/std::function/std::vector/