blob: 6c38ae8b31ee0ae8b6f8ecc36d9044ef339fd609 (
plain)
1
2
3
4
5
6
7
8
9
|
# incria
Incria is a library for incremental computation.
It lets you record what a calculation depends on and then only re-run that calculation once one of those dependencies has changed.
This is similar to the [query system used by the Rust compiler](https://rustc-dev-guide.rust-lang.org/query.html), but implemented using async.
By seperating the tracking of dependencies from the calculation logic, you can write clean code that re-runs only when it needs to, and can be parallelised with little extra work.
For more info, read the rustdoc or check the [examples]($ROOT/dir?ci=tip&name=examples).
|