summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/store.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-12 07:19:26 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-12 07:27:18 +0100
commit41c3f7e50b1f5917aa9b05b327d4d47c3bdd2d23 (patch)
tree0181c43871235ec01bf41ee860c7d7ca4dbdd724 /crawl-ref/source/store.h
parent11d3004b74a6a509a5355002f8bf6b7b86a0828a (diff)
downloadcrawl-ref-41c3f7e50b1f5917aa9b05b327d4d47c3bdd2d23.tar.gz
crawl-ref-41c3f7e50b1f5917aa9b05b327d4d47c3bdd2d23.zip
Drop a couple of outdated comments.
Hash tables have no limit other than available memory anymore; details of space used for marshalling are uninteresting: all that matters is that the overhead of an empty table is 1 byte: which is the smallest amount expected anyway.
Diffstat (limited to 'crawl-ref/source/store.h')
-rw-r--r--crawl-ref/source/store.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/crawl-ref/source/store.h b/crawl-ref/source/store.h
index 1665fb984e..dbdea489be 100644
--- a/crawl-ref/source/store.h
+++ b/crawl-ref/source/store.h
@@ -248,18 +248,10 @@ protected:
};
-// A hash table can have a maximum of 255 key/value pairs. If you
-// want more than that you can use nested hash tables.
-//
// By default a hash table's value data types are heterogeneous. To
// make it homogeneous (which causes dynamic type checking) you have
// to give a type to the hash table constructor; once it's been
// created its type (or lack of type) is immutable.
-//
-// An empty hash table will take up only 1 byte in the savefile. A
-// non-empty hash table will have an overhead of 3 bytes for the hash
-// table overall and 2 bytes per key/value pair, over and above the
-// number of bytes needed to store the keys and values themselves.
class CrawlHashTable
{
public: