Associative array: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
(cat)
Line 6: Line 6:
== See also ==
== See also ==
* [[Creating an Associative Array]]
* [[Creating an Associative Array]]

[[Category:Data Structures]]

Revision as of 19:42, 31 January 2008

An associative array is a collection indexed by arbitrary data types, not just small integers. Whereas an array is typically implemented as many same-sized items stored in a contiguous chunk of memory, an associative array must be implemented via a more complex data structure, such as a hash table, alist, or some other type of map.

References

See also