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:
“In verse one can take any damn constant one likes, one can alliterate, or assone, or rhyme, or quant, or smack, only one MUST leave the other elements irregular.”
—Ezra Pound (18851972)
“A little sleep, a little slumber, a little folding of the hands to rest, and poverty will come upon you like a robber, and want, like an armed warrior.”
—Bible: Hebrew, Proverbs 6:10.