<?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="Immutable object - Page 12 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Immutable_object&amp;p=11">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Immutable_object&amp;p=13">3.Next</a>
</p>
<p>their references, typically represented as pointers or integers, are equal. Some languages do this automatically: for example, <a href="page.php?w=Python_%28programming_language%29">Python</a> automatically <a href="page.php?w=String_intern_pool">interns short strings</a>. If the algorithm that implements interning is guaranteed to do so in every case that it is possible, then comparing objects for equality is reduced to comparing their pointers - a substantial gain in speed in most applications. (Even if the algorithm is not guaranteed to be</p><p>
<a accesskey="1" href="page.php?w=Immutable_object&amp;p=11">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Immutable_object&amp;p=13">3.Next</a>
</p>

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

</card>
</wml>
