3 ms·
There's a lot of dead code in real programs, and this kind of optimization gets rid of a lot of it.
by greglindahl 12y ago
There's a lot of dead code in real programs, and this kind of optimization gets rid of a lot of it.
- bodyfour 12y ago...especially for code that's macro heavy. It's easy to have code where a macro is including a memset to protect some invariant. The compiler can see the bigger picture and realizes that the memset target isn't actually read from again in this case.