GHC 6.8.1 SpecConstr

Ian Lynagh igloo at earth.li
Sat Nov 17 10:43:53 EST 2007


On Thu, Nov 15, 2007 at 10:24:43PM +0100, Daniel Fischer wrote:
> Am Donnerstag, 15. November 2007 09:57 schrieb Simon Peyton-Jones:
> > Urk.  Well spotted!
> >
> > I omitted a prime (writing env instead of env') in a late fix, and as a
> > result practically no top-level rules and specialisations are being
> > applied.
> >
> > What an egregious bug. The good news is that a one-character fix should
> > make 6.8.2 perform quite a bit better than 6.8.1!
> 
> I have not yet got round to build my 6.8.1, could you tell me where to insert 
> the prime so I could have the improvement before 6.8.2?

The darcs patch is:

hunk ./compiler/simplCore/Simplify.lhs 267
-    add_rules env (bndr, rhs) = (env, (bndr, bndr', rhs))
+    add_rules env (bndr, rhs) = (env', (bndr, bndr', rhs))


Thanks
Ian



More information about the Glasgow-haskell-users mailing list