[commit: Cabal] master: switch goal reordering off by default (91e1fcb)
Ian Lynagh
igloo at earth.li
Fri Nov 4 18:06:49 CET 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/91e1fcbc8e3cc16e19b13b0f0cdf11ed650d2a37
>---------------------------------------------------------------
commit 91e1fcbc8e3cc16e19b13b0f0cdf11ed650d2a37
Author: Andres Loeh <andres at well-typed.com>
Date: Sun Jul 3 13:52:17 2011 +0000
switch goal reordering off by default
It surprised me somewhat, but goal reordering seems to slow things
down, even for backtracking packages. It was supposed to speed things
up, but it's possible that backjumping works so nicely that it more
than compensates for the effects. More systematic testing might be
needed.
>---------------------------------------------------------------
.../Client/Dependency/Modular/Solver.hs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cabal-install/Distribution/Client/Dependency/Modular/Solver.hs b/cabal-install/Distribution/Client/Dependency/Modular/Solver.hs
index 24a4e59..0852784 100644
--- a/cabal-install/Distribution/Client/Dependency/Modular/Solver.hs
+++ b/cabal-install/Distribution/Client/Dependency/Modular/Solver.hs
@@ -25,7 +25,7 @@ data SolverConfig = SolverConfig {
defaultSolverConfig :: Bool -> SolverConfig
defaultSolverConfig ar = SolverConfig {
- preferEasyGoalChoices = True,
+ preferEasyGoalChoices = False,
pStrategy = PreferLatestForSelected, -- latest for goals only
avoidReinstalls = ar
}
More information about the Cvs-libraries
mailing list