Skip to content

Commit e48e123

Browse files
authored
Uses NoHashHasher in accounts_db::StorageSizeAndCountMap (#4325)
1 parent e81b261 commit e48e123

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

accounts-db/src/accounts_db.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,8 @@ struct StorageSizeAndCount {
783783
/// number of accounts in the storage including both alive and dead accounts
784784
pub count: usize,
785785
}
786-
type StorageSizeAndCountMap = DashMap<AccountsFileId, StorageSizeAndCount>;
786+
type StorageSizeAndCountMap =
787+
DashMap<AccountsFileId, StorageSizeAndCount, BuildNoHashHasher<AccountsFileId>>;
787788

788789
impl GenerateIndexTimings {
789790
pub fn report(&self, startup_stats: &StartupStats) {

0 commit comments

Comments
 (0)