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 @@ -1500,7 +1500,7 @@ intersection a b = foldlWithKey' go empty a
1500
1500
_ -> m
1501
1501
{-# INLINABLE intersection #-}
1502
1502
1503
- -- | /O(n+ m)/ Intersection of two maps. If a key occurs in both maps
1503
+ -- | /O(n*log m)/ Intersection of two maps. If a key occurs in both maps
1504
1504
-- the provided function is used to combine the values from the two
1505
1505
-- maps.
1506
1506
intersectionWith :: (Eq k , Hashable k ) => (v1 -> v2 -> v3 ) -> HashMap k v1
@@ -1512,7 +1512,7 @@ intersectionWith f a b = foldlWithKey' go empty a
1512
1512
_ -> m
1513
1513
{-# INLINABLE intersectionWith #-}
1514
1514
1515
- -- | /O(n+ m)/ Intersection of two maps. If a key occurs in both maps
1515
+ -- | /O(n*log m)/ Intersection of two maps. If a key occurs in both maps
1516
1516
-- the provided function is used to combine the values from the two
1517
1517
-- maps.
1518
1518
intersectionWithKey :: (Eq k , Hashable k ) => (k -> v1 -> v2 -> v3 )
You can’t perform that action at this time.
0 commit comments