[commit: ghc] master: sizeExpr: multiply all the sizes by 10, except for primops. This (4063e1d)
Simon Marlow
marlowsd at gmail.com
Wed May 25 15:57:31 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/4063e1d8501b38b5ed8d620dcd8e27adee0e7091
>---------------------------------------------------------------
commit 4063e1d8501b38b5ed8d620dcd8e27adee0e7091
Author: Simon Marlow <marlowsd at gmail.com>
Date: Wed May 25 13:06:05 2011 +0100
sizeExpr: multiply all the sizes by 10, except for primops. This
makes primops look cheap (but not free), and improves the Repro4.hs
example from #4978.
While I was making this change I accidentally discovered that
increasing the discount for scrutinised constructors was an
unambiguous win, so I did that too.
compiler/coreSyn/CoreUnfold.lhs | 53 ++++++++++++++++++++------------------
compiler/main/StaticFlags.hs | 10 +++---
2 files changed, 33 insertions(+), 30 deletions(-)
Diff suppressed because of size. To see it, use:
git show 4063e1d8501b38b5ed8d620dcd8e27adee0e7091
More information about the Cvs-ghc
mailing list