[commit: ghc] master: Comments only (bbfa0ca)

git at git.haskell.org git at git.haskell.org
Fri May 1 07:30:47 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/bbfa0caa20546aa2428c8a235862605762d0feee/ghc

>---------------------------------------------------------------

commit bbfa0caa20546aa2428c8a235862605762d0feee
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Thu Apr 30 14:44:23 2015 +0100

    Comments only


>---------------------------------------------------------------

bbfa0caa20546aa2428c8a235862605762d0feee
 compiler/specialise/SpecConstr.hs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/compiler/specialise/SpecConstr.hs b/compiler/specialise/SpecConstr.hs
index 42e9f52..7a4b402 100644
--- a/compiler/specialise/SpecConstr.hs
+++ b/compiler/specialise/SpecConstr.hs
@@ -413,7 +413,10 @@ This seeding is done in the binding for seed_calls in specRec.
      (a) the call patterns in the RHS
      (b) the call patterns in the rest of the top-level bindings
    NB: before Apr 15 we used (a) only, but Dimitrios had an example
-       where (b) was  crucial, so I added that.
+       where (b) was crucial, so I added that.
+       Adding (b) also improved nofib allocation results:
+                  multiplier: 4%   better
+                  minimax:    2.8% better
 
 Actually in case (2), instead of using the calls from the RHS, it
 would be better to specialise in the importing module.  We'd need to



More information about the ghc-commits mailing list