Complete text about salsa base inputs
This commit is contained in:
parent
6cf849f63b
commit
a7d0f3f2dd
|
|
@ -32,7 +32,8 @@ see its type), completions, etc.
|
||||||
|
|
||||||
## How does it work?
|
## How does it work?
|
||||||
|
|
||||||
The first thing that Salsa has to do is identify the "base inputs" [^EN1].
|
The first thing that Salsa has to do is identify the "base inputs" that
|
||||||
|
are not something computed but given as input.
|
||||||
|
|
||||||
Then Salsa has to also identify intermediate, "derived" values, which are
|
Then Salsa has to also identify intermediate, "derived" values, which are
|
||||||
something that the library produces, but, for each derived value there's a
|
something that the library produces, but, for each derived value there's a
|
||||||
|
|
@ -107,7 +108,7 @@ potentially invalidated.
|
||||||
|
|
||||||
A query group is a set of queries which have been defined together as a unit.
|
A query group is a set of queries which have been defined together as a unit.
|
||||||
The database is formed by combining query groups. Query groups are akin to
|
The database is formed by combining query groups. Query groups are akin to
|
||||||
"Salsa modules" [^EN2].
|
"Salsa modules" [^EN1].
|
||||||
|
|
||||||
A set of queries in a query group are just a set of methods in a trait.
|
A set of queries in a query group are just a set of methods in a trait.
|
||||||
|
|
||||||
|
|
@ -212,6 +213,4 @@ fn main() {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
[^EN1]: "They are not something that you **inaubible** but something that you kinda get **inaudible** from the outside [3:23](https://youtu.be/_muY4HjSqVw?t=203).
|
[^EN1]: What is a Salsa module?
|
||||||
|
|
||||||
[^EN2]: What is a Salsa module?
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue