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 me, it is as though at every moment the actual world had completely lost its actuality. As though there was nothing there; as though there were no foundations for anything or as though it escaped us. Only one thing, however, is vividly present: the constant tearing of the veil of appearances; the constant destruction of everything in construction. Nothing holds together, everything falls apart.”
—Eugène Ionesco (b. 1912)
“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)