Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor data structure representing account candidates for cleaning
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