WebGlossary.info
Dead-code elimination
- A compiler optimization to remove code which does not affect the program results. Removing such code has several benefits: It shrinks program size, an important consideration in some contexts, and it allows the running program to avoid executing irrelevant operations, which reduces its running time. Dead-code elimination can also enable further optimizations by simplifying program structure. Dead code includes code that can never be executed (unreachable code), and code that only affects dead variables (written to, but never read again), that is, irrelevant to the program. ← Wikipedia
- Previous term: Dead letter queue
- Next term: Debugging
- Random term: JavaScript Syntax Extension