<?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="Switch statement - Page 4 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=switch_statement&amp;p=3">1.Previous</a><br />
<a accesskey="3" href="page.php?w=switch_statement&amp;p=5">3.Next</a>
</p>
<p>execute much faster because it is often implemented as a <a href="page.php?w=branch_table">branch table</a>. When implemented as such, a switch statement embodies a <a href="page.php?w=perfect_hash">perfect hash</a>.</p>

<p>
: An <a href="page.php?w=optimizing_compiler">optimizing compiler</a> such as <a href="page.php?w=GNU_Compiler_Collection">GCC</a> or <a href="page.php?w=Clang">Clang</a> may compile a switch statement into either a <a href="page.php?w=branch_table">branch table</a> or a <a href="page.php?w=binary_search">binary search</a>.</p><p>
<a accesskey="1" href="page.php?w=switch_statement&amp;p=3">1.Previous</a><br />
<a accesskey="3" href="page.php?w=switch_statement&amp;p=5">3.Next</a>
</p>

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

</card>
</wml>
