Skip to content

Commit

Permalink
Refactor data structure representing account candidates for cleaning
Browse files Browse the repository at this point in the history
AccountsDB::clean_accounts makes unnecessary copies of large number of
pubkeys and accompanying information to find and operate on the
accounts that can be deleted from the accounts index. With this change
the candidates for deletion are organized in a single data structure
with necessary information being updated in-place, thus reducing
memory requirements of the cleaning procedure.
  • Loading branch information
dmakarov committed Jul 26, 2024
1 parent 58770ed commit 7c5cd45
Showing 1 changed file with 222 additions and 161 deletions.
Loading

0 comments on commit 7c5cd45

Please sign in to comment.