From 1b3eb3df5e244cdbdedb7eff8978823ef0611669 Mon Sep 17 00:00:00 2001 From: Brooks Date: Thu, 12 Sep 2024 18:50:31 -0400 Subject: [PATCH] Uses IntMap in SlotOffsets (#2891) --- accounts-db/src/accounts_db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts-db/src/accounts_db.rs b/accounts-db/src/accounts_db.rs index 5860a3431db8c9..dcff28d0cfbb32 100644 --- a/accounts-db/src/accounts_db.rs +++ b/accounts-db/src/accounts_db.rs @@ -822,7 +822,7 @@ pub type AtomicAccountsFileId = AtomicU32; pub type AccountsFileId = u32; type AccountSlots = HashMap>; -type SlotOffsets = HashMap>; +type SlotOffsets = IntMap>; type ReclaimResult = (AccountSlots, SlotOffsets); type PubkeysRemovedFromAccountsIndex = HashSet; type ShrinkCandidates = IntSet;