In compiler theory, dead code elimination is a compiler optimization to remove code which does not affect the program results. Removing such code has two 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 includes code that can never be executed (unreachable code), and code that only affects dead variables, that is, variables that are irrelevant to the program.
Read more about Dead Code Elimination: Examples, Dynamic Dead Code Elimination
Famous quotes containing the words dead, code and/or elimination:
“For men were born to pray and save:
Romantic Irelands dead and gone,
Its with OLeary in the grave.”
—William Butler Yeats (18651939)
“Wise Draco comes, deep in the midnight roll
Of black artillery; he comes, though late;
In code corroborating Calvins creed
And cynic tyrannies of honest kings;
He comes, nor parlies; and the Town, redeemed,
Gives thanks devout; nor, being thankful, heeds
The grimy slur on the Republics faith implied,
Which holds that Man is naturally good,
Andmoreis Natures Roman, never to be
scourged.”
—Herman Melville (18191891)
“To reduce the imagination to a state of slaveryeven though it would mean the elimination of what is commonly called happinessis to betray all sense of absolute justice within oneself. Imagination alone offers me some intimation of what can be.”
—André Breton (18961966)