Structsยง
- Current
DepGraph ๐ CurrentDepGraphstores the dependency graph for the current session. It will be populated as we run queries or tasks. We never remove nodes from the graph: they are only added.- DepGraph
- DepGraph
Data - DepNode
Color ๐Map - DepNode
Index - Edge
Index ๐ - Mark
Frame ๐ - Task
Deps - Work
Product - A โwork productโ is an intermediate result that we save into the incremental directory for later re-use. The primary example are the object files that we save for each partition at code generation time.
Enumsยง
- DepNode
Color ๐ - Desired
Color ๐ - The color that
DepNodeColorMap::try_set_colorshould try to apply to a node. - Query
Side Effect - Tracks โside effectsโ for a particular query. This struct is saved to disk along with the query result, and loaded from disk if we mark the query as green. This allows us to โreplayโ changes to global state that would otherwise only occur if we actually executed the query method.
- Task
Deps Ref - TrySet
Color ๐Result - Return value of
DepNodeColorMap::try_set_color, indicating success or failure, and (on failure) what the existing color is.
Constantsยง
- COMPRESSED_
RED ๐ - COMPRESSED_
UNKNOWN ๐