File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -1558,12 +1558,6 @@ submapBitmapIndexed comp !b1 !ary1 !b2 !ary2 = subsetBitmaps && go 0 0 (b1Orb2 .
1558
1558
go ! i ! j ! m
1559
1559
| m > b1Orb2 = True
1560
1560
1561
- #if WORD_SIZE_IN_BITS == 32
1562
- -- m can overflow to 0 on 32-bit platforms.
1563
- -- See #491.
1564
- | m == 0 = True
1565
- #endif
1566
-
1567
1561
-- In case a key is both in ary1 and ary2, check ary1[i] <= ary2[j] and
1568
1562
-- increment the indices i and j.
1569
1563
| b1Andb2 .&. m /= 0 = comp (A. index ary1 i) (A. index ary2 j) &&
@@ -2449,7 +2443,11 @@ clone ary =
2449
2443
--
2450
2444
-- This constant is named /t/ in the original /Ideal Hash Trees/ paper.
2451
2445
bitsPerSubkey :: Int
2446
+ #if WORD_SIZE_IN_BITS < 64
2447
+ bitsPerSubkey = 4
2448
+ #else
2452
2449
bitsPerSubkey = 5
2450
+ #endif
2453
2451
2454
2452
-- | The size of a 'Full' node, i.e. @2 ^ 'bitsPerSubkey'@.
2455
2453
maxChildren :: Int
You can’t perform that action at this time.
0 commit comments