From aebf5c83ba1c922ea9b6aa1f9a4d9af7540a1f56 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Fri, 25 Jan 2019 19:46:14 +0100 Subject: [PATCH] Update description of STORED_HASH dict as per remark of #44 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c323267e..a56d1798 100644 --- a/README.md +++ b/README.md @@ -1884,7 +1884,7 @@ Example: Define the dictionary 'name##\_t' and its associated methods as "static inline" functions just like DICT\_DEF2. -The only difference is that it stores the computed hash in the dictionary. +The only difference is that it stores the hash of each key alongside the key in the dictionary. This enable the container to avoid recomputing it in some occasions resulting in faster dictionary if the hash is costly to compute, or slower otherwise.