diff options
author | Raymond Hettinger <python@rcn.com> | 2003-05-03 06:51:59 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-05-03 06:51:59 (GMT) |
commit | 930427b89287ab0ef2ea07b0de069a08bd00e0f7 (patch) | |
tree | 7186e2e823745726eb1cfe1359f16c5c9aa0a6fb | |
parent | 7c2bb5bc5765491a80bdca43545c5f41481cbf08 (diff) | |
download | cpython-930427b89287ab0ef2ea07b0de069a08bd00e0f7.zip cpython-930427b89287ab0ef2ea07b0de069a08bd00e0f7.tar.gz cpython-930427b89287ab0ef2ea07b0de069a08bd00e0f7.tar.bz2 |
Add a reference to dictnotes.txt. It does no good if you don't know it's
there or where to find it.
-rw-r--r-- | Include/dictobject.h | 6 | ||||
-rw-r--r-- | Objects/dictobject.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Include/dictobject.h b/Include/dictobject.h index d3a0fc5..c8ae912 100644 --- a/Include/dictobject.h +++ b/Include/dictobject.h @@ -7,6 +7,12 @@ extern "C" { /* Dictionary object type -- mapping from hashable object to object */ +/* The distribution includes a separate file, Objects/dictnotes.txt, + describing explorations into dictionary design and optimization. + It covers typical dictionary use patterns, the parameters for + tuning dictionaries, and several ideas for possible optimizations. +*/ + /* There are three kinds of slots in the table: diff --git a/Objects/dictobject.c b/Objects/dictobject.c index 6c86235..f0e93f8 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -1,6 +1,12 @@ /* Dictionary object implementation using a hash table */ +/* The distribution includes a separate file, Objects/dictnotes.txt, + describing explorations into dictionary design and optimization. + It covers typical dictionary use patterns, the parameters for + tuning dictionaries, and several ideas for possible optimizations. +*/ + #include "Python.h" typedef PyDictEntry dictentry; |