Apply suggestions from Zoxc
This commit is contained in:
parent
2154b85ca4
commit
695e58d5ec
|
|
@ -413,8 +413,8 @@ respect to incremental compilation:
|
||||||
even try to mark the query's dep-node as green. This attribute has two use
|
even try to mark the query's dep-node as green. This attribute has two use
|
||||||
cases:
|
cases:
|
||||||
|
|
||||||
- Queries that are **inputs** to the system must be marked as `eval_always`
|
- `eval_always` queries can read inputs (from files, global state, etc).
|
||||||
since we have no other way of checking whether their value has changed.
|
They can also produce side effects like writing to files and changing global state.
|
||||||
|
|
||||||
- Some queries are very likely to be re-evaluated because their result
|
- Some queries are very likely to be re-evaluated because their result
|
||||||
depends on the entire source code. In this case `eval_always` can be used
|
depends on the entire source code. In this case `eval_always` can be used
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue