mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
Convert giant tuple in state_compressor to struct
This commit is contained in:
parent
8d09a7e490
commit
edfccea30a
4 changed files with 39 additions and 61 deletions
|
|
@ -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(¤t_state)
|
||||
.copied()
|
||||
.collect::<HashSet<_>>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue