Introduce Salsa enums

They are of the form:
```
enum Enum {
    Input(Input),
    Interned(Interned),
    ...
}
```
This commit is contained in:
Chayim Refael Friedman 2025-01-06 00:03:25 +02:00 committed by Lukas Wirth
parent 6478406cd9
commit 6134aaf2b5
27 changed files with 722 additions and 184 deletions

View file

@ -84,6 +84,12 @@ where
tracing::debug!("{database_key_index:?}: read_upgrade: result.revisions = {revisions:#?}");
self.insert_memo(zalsa, id, Memo::new(Some(value), revision_now, revisions))
let memo_ingredient_index = self.memo_ingredient_index(zalsa, id);
self.insert_memo(
zalsa,
id,
Memo::new(Some(value), revision_now, revisions),
memo_ingredient_index,
)
}
}