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:
“Our farmers round, well pleased with constant gain,
Like other farmers, flourish and complain.”
—George Crabbe (17541832)
“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)