Associative array

From Rosetta Code
Revision as of 19:36, 31 January 2008 by rosettacode>IanOsgood (detail, copyedit)

An array where the indices are not just integers but may be arbitrary data types. 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