Constant folding and constant propagation are related compiler optimizations used by many modern compilers. An advanced form of constant propagation known as sparse conditional constant propagation can more accurately propagate constants and simultaneously remove dead code.
Read more about Constant Folding: Constant Folding, Constant Folding and Cross Compilation, Constant Propagation, The Optimizations in Action
Famous quotes containing the words constant and/or folding:
“For centuries the death penalty, often accompanied by barbarous refinements, has been trying to hold crime in check; yet crime persists. Why? Because the instincts that are warring in man are not, as the law claims, constant forces in a state of equilibrium.”
—Albert Camus (19131960)
“Theres only one way for an individual to remain upright, not to fall to pieces, not to sink into the mire of self-oblivion ... or self-contempt. Thats calmly to turn away from everything, to say, Enough! and, folding ones useless arms across ones empty breast, to retain the ultimate, the sole attainable virtue, the virtue of recognizing ones own insignificance.”
—Ivan Sergeevich Turgenev (18181883)