We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dadb590 commit 1607e71Copy full SHA for 1607e71
Data/HashMap/Internal.hs
@@ -1556,6 +1556,9 @@ submapBitmapIndexed comp !b1 !ary1 !b2 !ary2 = subsetBitmaps && go 0 0 (b1Orb2 .
1556
where
1557
go :: Int -> Int -> Bitmap -> Bool
1558
go !i !j !m
1559
+
1560
+ -- Note: m can overflow to 0 when maxChildren == WORD_SIZE_IN_BITS. See
1561
+ -- #491. In that case there needs to be a check '| m == 0 = True'
1562
| m > b1Orb2 = True
1563
1564
-- In case a key is both in ary1 and ary2, check ary1[i] <= ary2[j] and
0 commit comments