This repository was archived by the owner on Jun 15, 2023. It is now read-only.
File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ struct Node;
27
27
struct State ;
28
28
29
29
// / As build commands run they can output extra dependency information
30
- // / (e.g. header dependencies for C source) via a pipe . DepsLog collects
31
- // / that information at build time and reloads it at startup .
30
+ // / (e.g. header dependencies for C source) dynamically . DepsLog collects
31
+ // / that information at build time and uses it for subsequent builds .
32
32
// /
33
- // / The on-disk format is based on two primary constraints:
33
+ // / The on-disk format is based on two primary design constraints:
34
34
// / - it must be written to as a stream (during the build, which may be
35
35
// / interrupted);
36
36
// / - it can be read all at once on startup. (Alternative designs, where
@@ -43,7 +43,8 @@ struct State;
43
43
// / There's about 10k files worth of dependencies that reference about
44
44
// / 40k total paths totalling 2mb of unique strings.
45
45
// /
46
- // / Based on these above, the file is structured as a sequence of records.
46
+ // / Based on these stats, here's the current design.
47
+ // / The file is structured as version header followed by a sequence of records.
47
48
// / Each record is either a path string or a dependency list.
48
49
// / Numbering the path strings in file order gives them dense integer ids.
49
50
// / A dependency list maps an output id to a list of input ids.
You can’t perform that action at this time.
0 commit comments