File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1582,7 +1582,7 @@ intersection a b = foldlWithKey' go empty a
1582
1582
_ -> m
1583
1583
{-# INLINABLE intersection #-}
1584
1584
1585
- -- | /O(n+ m)/ Intersection of two maps. If a key occurs in both maps
1585
+ -- | /O(n*log m)/ Intersection of two maps. If a key occurs in both maps
1586
1586
-- the provided function is used to combine the values from the two
1587
1587
-- maps.
1588
1588
intersectionWith :: (Eq k , Hashable k ) => (v1 -> v2 -> v3 ) -> HashMap k v1
@@ -1594,7 +1594,7 @@ intersectionWith f a b = foldlWithKey' go empty a
1594
1594
_ -> m
1595
1595
{-# INLINABLE intersectionWith #-}
1596
1596
1597
- -- | /O(n+ m)/ Intersection of two maps. If a key occurs in both maps
1597
+ -- | /O(n*log m)/ Intersection of two maps. If a key occurs in both maps
1598
1598
-- the provided function is used to combine the values from the two
1599
1599
-- maps.
1600
1600
intersectionWithKey :: (Eq k , Hashable k ) => (k -> v1 -> v2 -> v3 )
You can’t perform that action at this time.
0 commit comments