[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

Durability by nikomatsakis · Pull Request #180 · salsa-rs/salsa

nikomatsakis

added 17 commits

July 2, 2019 07:49
We now track the last revision in which constants were modified. When
we see a constant query result, we record the current revision as
well. Then later we can check if the result is "still" constant. This
lets us cut out a lot of intermediate work.
It didn't seem like it was buying us much.

Random bool constants are just so gauche.

This will be important if we want to automatically upgrade the
durability of inputs.
pure refactoring

The old name was really awkward.

Also write some docs explaining its side-effects.

Co-Authored-By: Aleksey Kladov <aleksey.kladov@gmail.com>

Closed