From 0423278a318b29474803ef1f8b204db56b2b9734 Mon Sep 17 00:00:00 2001 From: James Ray Date: Mon, 12 Jun 2017 18:12:09 +1000 Subject: [PATCH] Create types.rst hash table link --- docs/types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/types.rst b/docs/types.rst index c400aecba..9365d3b02 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -795,7 +795,7 @@ Mapping types are declared as ``mapping(_KeyType => _ValueType)``. Here ``_KeyType`` can be almost any type except for a mapping, a dynamically sized array, a contract, an enum and a struct. ``_ValueType`` can actually be any type, including mappings. -Mappings can be seen as hashtables which are virtually initialized such that +Mappings can be seen as `hash tables `_ which are virtually initialized such that every possible key exists and is mapped to a value whose byte-representation is all zeros: a type's :ref:`default value `. The similarity ends here, though: The key data is not actually stored in a mapping, only its ``keccak256`` hash used to look up the value.