<?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="Association list - Page 6 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=association_list&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=association_list&amp;p=7">3.Next</a>
</p>
<p>unless the list is regularly pruned to remove elements with duplicate keys, multiple values associated with the same key will increase the size of the list, and thus the time to search, without providing any compensatory advantage.</p>

<p>One advantage of association lists is that a new element can be added in constant time. Additionally, when the number of keys is very small, searching an association list may be more efficient than searching a binary search tree or hash table, because of the greater simplicity of their implementation.</p>

<p><big>Applications and software libraries</big></p><p>
<a accesskey="1" href="page.php?w=association_list&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=association_list&amp;p=7">3.Next</a>
</p>

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

</card>
</wml>
