mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-12 16:35:21 +00:00
c14a3d47ea
`PanicGuard` used to own the memo so that, in the case of panic, we could reinstall the old value -- but there's no reason for us to do that. It's just as good to clear the slot in that case and recompute it later. Also, it makes the code nicer to remove it, since it allows us to have more precision about where we know the memo is not null. My motivation though is to work towards "partial cycle recovery". We need a clean and easy way to cancel the ongoing execution and reset the slot to "not computed" (turns out we used that in `maybe_changed_since` too!). |
||
---|---|---|
.. | ||
incremental | ||
parallel | ||
storage_varieties | ||
cycles.rs | ||
dyn_trait.rs | ||
interned.rs | ||
lru.rs | ||
macros.rs | ||
no_send_sync.rs | ||
on_demand_inputs.rs | ||
panic_safely.rs | ||
transparent.rs | ||
variadic.rs |