File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1797,10 +1797,14 @@ intersectionWithKey# f = go 0
17971797 -- collision vs. collision
17981798 go _ (Collision h1 ls1) (Collision h2 ls2) = intersectionCollisions f h1 h2 ls1 ls2
17991799 -- branch vs. branch
1800- go s (BitmapIndexed b1 ary1) (BitmapIndexed b2 ary2) = intersectionArrayBy (go (s + bitsPerSubkey)) b1 b2 ary1 ary2
1801- go s (BitmapIndexed b1 ary1) (Full ary2) = intersectionArrayBy (go (s + bitsPerSubkey)) b1 fullNodeMask ary1 ary2
1802- go s (Full ary1) (BitmapIndexed b2 ary2) = intersectionArrayBy (go (s + bitsPerSubkey)) fullNodeMask b2 ary1 ary2
1803- go s (Full ary1) (Full ary2) = intersectionArrayBy (go (s + bitsPerSubkey)) fullNodeMask fullNodeMask ary1 ary2
1800+ go s (BitmapIndexed b1 ary1) (BitmapIndexed b2 ary2) =
1801+ intersectionArrayBy (go (s + bitsPerSubkey)) b1 b2 ary1 ary2
1802+ go s (BitmapIndexed b1 ary1) (Full ary2) =
1803+ intersectionArrayBy (go (s + bitsPerSubkey)) b1 fullNodeMask ary1 ary2
1804+ go s (Full ary1) (BitmapIndexed b2 ary2) =
1805+ intersectionArrayBy (go (s + bitsPerSubkey)) fullNodeMask b2 ary1 ary2
1806+ go s (Full ary1) (Full ary2) =
1807+ intersectionArrayBy (go (s + bitsPerSubkey)) fullNodeMask fullNodeMask ary1 ary2
18041808 -- collision vs. branch
18051809 go s (BitmapIndexed b1 ary1) t2@ (Collision h2 _ls2)
18061810 | b1 .&. m2 == 0 = Empty
You can’t perform that action at this time.
0 commit comments