Dead code: Difference between revisions

Content deleted Content added
No edit summary
It is not optimization. Where is discuss of merging? I think It is a bad idea.
Line 1:
{{Merge from|Dead code elimination|date=November 2010}}
 
In [[computer programming]], '''dead code''' is code in the [[source code]] of a program which is executed but whose result is never used in any other computation.<ref>[http://doi.acm.org/10.1145/349214.349233 Debray, S. K., Evans, W., Muth, R., and De Sutter, B. 2000. Compiler techniques for code compaction. ACM Trans. Program. Lang. Syst. 22, 2 (Mar. 2000), 378-415.]</ref><ref>[[Andrew Appel|Appel, A. W.]] 1998 Modern Compiler Implementation in Java. Cambridge University Press.</ref> The execution of dead code wastes computation time as its results are never used.
 
Line 42 ⟶ 40:
 
{{DEFAULTSORT:Dead Code}}
[[Category:Compiler optimizations]]
[[Category:Source code]]
[[Category:Software anomalies]]