Skip to content

Commit e24bfd1

Browse files
committed
Add TODOs
1 parent 3344235 commit e24bfd1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Data/HashMap/Internal.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2386,6 +2386,10 @@ disjointArrays !s !bmA !aryA !bmB !aryB = go (bmA .&. bmB)
23862386
iB = sparseIndex bmB m
23872387
{-# INLINE disjointArrays #-}
23882388

2389+
-- TODO: GHC 9.12.2 inlines disjointCollisions into `disjoint @Int`.
2390+
-- How do you prevent this while preserving specialization?
2391+
--
2392+
-- TODO: GHC 9.12.2 also likes to rebox aryA when it is _not_ inlined. :/
23892393
disjointCollisions :: Eq k => Hash -> A.Array (Leaf k a) -> Hash -> A.Array (Leaf k b) -> Bool
23902394
disjointCollisions !hA !aryA !hB !aryB
23912395
| hA == hB = A.all predicate aryA

0 commit comments

Comments
 (0)