Convert giant tuple in state_compressor to struct

This commit is contained in:
Lambda 2024-05-20 10:13:01 +00:00 committed by Charles Hall
parent 8d09a7e490
commit edfccea30a
4 changed files with 39 additions and 61 deletions

View file

@ -722,12 +722,12 @@ impl KeyValueDatabase {
states_parents.last()
{
let statediffnew = current_state
.difference(&parent_stateinfo.1)
.difference(&parent_stateinfo.full_state)
.copied()
.collect::<HashSet<_>>();
let statediffremoved = parent_stateinfo
.1
.full_state
.difference(&current_state)
.copied()
.collect::<HashSet<_>>();