
2 Jul
2008
2 Jul
'08
7:25 a.m.
Simon Peyton-Jones wrote:
As I said to Serge, I *think* all this arises from the *unconditional* inlining of instance declarations, which isn't under flag control unfortunately. The only fix at the moment is to write instance decls whose code is small -- just call a separate top-level function instance C T where op = op_T
op_T = ....
I've changed our generation of instances to follow this pattern and indeed the object code size is much smaller! This is a workaround for http://hackage.haskell.org/trac/ghc/ticket/955 Thanks Christian