From c5ba602844a7fd2d5940d2036d304c89dfb8c702 Mon Sep 17 00:00:00 2001 From: brooks Date: Tue, 10 Sep 2024 17:50:23 -0400 Subject: [PATCH] Uses IntMap in SlotOffsets --- 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 85cd47cad19446..136cf93060808b 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;