aboutsummaryrefslogtreecommitdiff
path: root/incria/README.md
blob: b4ce5214c8e9519f8b6eea3c70e7beca1df1ec18 (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=benches).