We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3344235 commit e24bfd1Copy full SHA for e24bfd1
Data/HashMap/Internal.hs
@@ -2386,6 +2386,10 @@ disjointArrays !s !bmA !aryA !bmB !aryB = go (bmA .&. bmB)
2386
iB = sparseIndex bmB m
2387
{-# INLINE disjointArrays #-}
2388
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. :/
2393
disjointCollisions :: Eq k => Hash -> A.Array (Leaf k a) -> Hash -> A.Array (Leaf k b) -> Bool
2394
disjointCollisions !hA !aryA !hB !aryB
2395
| hA == hB = A.all predicate aryA
0 commit comments