Skip to content

Commit 3f3c5c2

Browse files
committed
Tweak
1 parent 03638a8 commit 3f3c5c2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Data/HashMap/Internal.hs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2354,10 +2354,8 @@ disjointSubtrees s a@(Collision hA _) (BitmapIndexed bmB aryB)
23542354
m = mask hA s
23552355
i = sparseIndex bmB m
23562356
disjointSubtrees s a@(Collision hA _) (Full aryB) =
2357-
case A.index# aryB i of
2358-
(# stB #) -> disjointSubtrees (nextShift s) a stB
2359-
where
2360-
i = index hA s
2357+
case A.index# aryB (index hA s) of
2358+
(# stB #) -> disjointSubtrees (nextShift s) a stB
23612359
disjointSubtrees _ (Collision hA aryA) (Collision hB aryB) =
23622360
disjointCollisions hA aryA hB aryB
23632361
disjointSubtrees _s _a Empty = True

0 commit comments

Comments
 (0)