<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Optimizing compiler - Page 30 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Optimizing_compiler&amp;p=29">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Optimizing_compiler&amp;p=31">3.Next</a>
</p>
<p>Loop optimizations can have a significant impact because many programs spend a large percentage of their time inside loops.</p>

<p>Some optimization techniques primarily designed to operate on loops include:</p>

<p>;<a href="page.php?w=Induction_variable_analysis">Induction variable analysis</a>: Roughly, if a variable in a loop is a simple linear function of the index variable, such as <code>j := 4*i + 1</code>, it can be updated appropriately each time the loop variable is changed. This is a <a href="page.php?w=strength_reduction">strength reduction</a></p><p>
<a accesskey="1" href="page.php?w=Optimizing_compiler&amp;p=29">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Optimizing_compiler&amp;p=31">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
