about summary refs log tree commit diff
path: root/src/globals.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-04T12·18+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-04T12·18+0000
commit207ff2caf0f48db0fb539e228ec5c3938a279f2a (patch)
treee4c2c329dcf44db95e36ff4d6872f904e39bc520 /src/globals.hh
parent40b5936691fe2448dea0080e2319cc340bc7c65c (diff)
* Caching of expression successors.
Diffstat (limited to 'src/globals.hh')
-rw-r--r--src/globals.hh16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/globals.hh b/src/globals.hh
index 3cb231ee20cb..8597ae2f89d7 100644
--- a/src/globals.hh
+++ b/src/globals.hh
@@ -14,17 +14,15 @@ using namespace std;
    resolve CHash(hash) content descriptors. */
 extern string dbRefs;
 
-/* dbNFs :: Hash -> Hash
+/* dbSuccessors :: Hash -> Hash
 
-   Each pair (h1, h2) in this mapping records the fact that the normal
-   form of an expression with hash h1 is Hash(h2).
+   Each pair (h1, h2) in this mapping records the fact that a
+   successor of an fstate expression with hash h1 is stored in a file
+   with hash h2.
 
-   TODO: maybe this should be that the normal form of an expression
-   with hash h1 is an expression with hash h2; this would be more
-   general, but would require us to store lots of small expressions in
-   the file system just to support the caching mechanism.
-*/
-extern string dbNFs;
+   Note that a term $y$ is successor of $x$ iff there exists a
+   sequence of rewrite steps that rewrites $x$ into $y$. */
+extern string dbSuccessors;
 
 /* dbNetSources :: Hash -> URL