patch applied (ghc): Avoid redundant simplification

Simon Peyton Jones simonpj at microsoft.com
Fri Oct 8 06:06:09 EDT 2010


Thu Oct  7 02:59:35 PDT 2010  simonpj at microsoft.com
  * Avoid redundant simplification 
  
  When adding specialisation for imported Ids, I noticed that the
  Glorious Simplifier was repeatedly (and fruitlessly) simplifying the
  same term.  It turned out to be easy to fix this, because I already
  had a flag in the ApplyTo and Select constructors of SimplUtils.SimplCont.
  
  See Note [Avoid redundant simplification]

    M ./compiler/simplCore/SimplUtils.lhs -12 +31
    M ./compiler/simplCore/Simplify.lhs -12 +27

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20101007095935-1287e-1dbd7f6dd8fa2f8ad60a8a27f800fffc473c12fb.gz



More information about the Cvs-ghc mailing list