出典:Wikipedia
出典:『Wikipedia』 (2011/04/28 06:49 UTC 版)
Strength reduction is a compiler optimization where expensive operations are replaced with equivalent but less expensive operations. The classic example of strength reduction converts "strong" multiplications inside a loop into "weaker" additions – something that frequently occurs in array addressing. (, p. 1)