Make UniqFM non-strict again while we work out what we're doing.
authorIan Lynagh <igloo@earth.li>
Mon, 25 Feb 2008 17:13:05 +0000 (17:13 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 25 Feb 2008 17:13:05 +0000 (17:13 +0000)
This "fixes" the very-slow problem we have when compiling dictionaries.

compiler/utils/UniqFM.lhs

index 57295d5..862ca58 100644 (file)
@@ -203,7 +203,7 @@ First, the DataType itself; which is either a Node, a Leaf, or an Empty.
 \begin{code}
 data UniqFM ele
   = EmptyUFM
-  | LeafUFM !FastInt !ele
+  | LeafUFM !FastInt ele
   | NodeUFM !FastInt         -- the switching
             !FastInt         -- the delta
             (UniqFM ele)