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:
“To keep up even a worthwhile tradition means vitiating the idea behind it which must necessarily be in a constant state of evolution: it is mad to try to express new feelings in a mummified form.”
—Alfred Jarry (18731907)
“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.