aboutsummaryrefslogtreecommitdiff
path: root/include/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/storage.h')
-rw-r--r--include/storage.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/storage.h b/include/storage.h
index 82ea55a..bef740a 100644
--- a/include/storage.h
+++ b/include/storage.h
@@ -3,6 +3,17 @@
#include "db.h"
+/* (From tags.h)
+ tags are stored in a big table (or their hashes are) ordered
+ by alphabetical order
+ tags can have namespaces which are a special tag that starts
+ with a ':'
+ all tags in a namespace are located between two occurrences
+ of the namespace within the list,
+ e.g [":people", "sam hyde", "hitler", ":people"]
+ maybe namespaces use another hashing function to prevent
+ collisions because of the lack of space because of the ':'
+*/
/*
tags are stored in a big table (or their hashes are) ordered