Add a comment, connecting the seq to the test (#4367) that shows its usefulness
authorsimonpj@microsoft.com <unknown>
Wed, 20 Oct 2010 07:59:41 +0000 (07:59 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 20 Oct 2010 07:59:41 +0000 (07:59 +0000)
compiler/basicTypes/IdInfo.lhs

index c383f89..77f0325 100644 (file)
@@ -243,7 +243,7 @@ setUnfoldingInfoLazily info uf      -- Lazy variant to avoid looking at the
 
 setUnfoldingInfo :: IdInfo -> Unfolding -> IdInfo
 setUnfoldingInfo info uf 
-  = seqUnfolding uf `seq`
+  = seqUnfolding uf `seq`      -- This seq makes a BIG difference to Trac #4367
     info { unfoldingInfo = uf }
 
 setArityInfo :: IdInfo -> ArityInfo -> IdInfo