Hacker News new | ask | show | jobs
by throwaway542134 2514 days ago
It's called dead code elimination/optimization and compilers can do it without LTO, with LTO you can can get more savings but ymmv.
1 comments

The original comment pointed out "entry points", so I assumed that they were talking about libraries rather than standard dead code elimination (which has been a thing for quite some time).