summaryrefslogtreecommitdiff
path: root/compiler/specialise/SpecConstr.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2015-04-30 14:44:23 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2015-05-01 08:24:41 +0100
commitbbfa0caa20546aa2428c8a235862605762d0feee (patch)
tree4375e9ee6968de718322c93fa48abe2f20f9844d /compiler/specialise/SpecConstr.hs
parentfe5ccbb1e12952ebab8a12ed7b11d6a315cac671 (diff)
downloadhaskell-bbfa0caa20546aa2428c8a235862605762d0feee.tar.gz
Comments only
Diffstat (limited to 'compiler/specialise/SpecConstr.hs')
-rw-r--r--compiler/specialise/SpecConstr.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/specialise/SpecConstr.hs b/compiler/specialise/SpecConstr.hs
index 42e9f526c6..7a4b4028c4 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