[commit: ghc] master: Comments only (66658ee)
git at git.haskell.org
git at git.haskell.org
Tue Nov 4 10:39:03 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/66658eedf0aa51de37ff6d2d009a2f37208985ca/ghc
>---------------------------------------------------------------
commit 66658eedf0aa51de37ff6d2d009a2f37208985ca
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Fri Oct 31 12:32:36 2014 +0000
Comments only
>---------------------------------------------------------------
66658eedf0aa51de37ff6d2d009a2f37208985ca
compiler/stranal/WwLib.lhs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/compiler/stranal/WwLib.lhs b/compiler/stranal/WwLib.lhs
index 11f97ea..1f1fbdf 100644
--- a/compiler/stranal/WwLib.lhs
+++ b/compiler/stranal/WwLib.lhs
@@ -528,7 +528,8 @@ can still be specialised by the type-class specialiser, something like
BUT if f is strict in the Ord dictionary, we might unpack it, to get
fw :: (a->a->Bool) -> [a] -> Int# -> a
-and the type-class specialiser can't specialise that.
+and the type-class specialiser can't specialise that. An example is
+Trac #6056.
Moreover, dictinoaries can have a lot of fields, so unpacking them can
increase closure sizes.
More information about the ghc-commits
mailing list