Skip to content

Commit

Permalink
Uses NoHashHasher in accounts_db::StorageSizeAndCountMap (#4325)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Jan 7, 2025
1 parent e81b261 commit e48e123
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,8 @@ struct StorageSizeAndCount {
/// number of accounts in the storage including both alive and dead accounts
pub count: usize,
}
type StorageSizeAndCountMap = DashMap<AccountsFileId, StorageSizeAndCount>;
type StorageSizeAndCountMap =
DashMap<AccountsFileId, StorageSizeAndCount, BuildNoHashHasher<AccountsFileId>>;

impl GenerateIndexTimings {
pub fn report(&self, startup_stats: &StartupStats) {
Expand Down

0 comments on commit e48e123

Please sign in to comment.