Skip to content

Commit bc211b2

Browse files
committed
Update comment
1 parent 139caa1 commit bc211b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Data/HashMap/Internal.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2395,8 +2395,7 @@ disjointArrays !s !bmA !aryA !bmB !aryB = go (bmA .&. bmB)
23952395

23962396
-- TODO: GHC 9.12.2 inlines disjointCollisions into `disjoint @Int`.
23972397
-- How do you prevent this while preserving specialization?
2398-
--
2399-
-- TODO: GHC 9.12.2 also likes to rebox aryA when it is _not_ inlined. :/
2398+
-- https://stackoverflow.com/questions/79838305/ensuring-specialization-while-preventing-inlining
24002399
disjointCollisions :: Eq k => Hash -> A.Array (Leaf k a) -> Hash -> A.Array (Leaf k b) -> Bool
24012400
disjointCollisions !hA !aryA !hB !aryB
24022401
| hA == hB = A.all predicate aryA

0 commit comments

Comments
 (0)