Be a bit more conservative with -O flags, and GC. Hope to avoid runtime GC bug

This commit is contained in:
Don Stewart
2007-05-27 07:44:38 +00:00
parent ef5326ccff
commit 7be0a2103d
2 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ import Data.List (genericIndex, intersectBy)
import Data.Bits ((.|.))
import qualified Data.Map as M
import System.Mem (performGC)
-- import System.Mem (performGC)
import Control.Monad.State
import Control.Monad.Reader
import Control.Arrow
@@ -140,7 +140,7 @@ refresh = do
setTopFocus
clearEnterEvents
io performGC -- really helps
-- io performGC -- really helps
-- | clearEnterEvents. Remove all window entry events from the event queue.
clearEnterEvents :: X ()

View File

@@ -24,6 +24,6 @@ extra-source-files: README TODO tests/loc.hs tests/Properties.hs man/xmonad.1
executable: xmonad
main-is: Main.hs
other-modules: Config Operations StackSet XMonad
ghc-options: -funbox-strict-fields -O2 -fasm -Wall -optl-Wl,-s
ghc-options: -funbox-strict-fields -O -fasm -Wall -optl-Wl,-s
ghc-prof-options: -prof -auto-all
extensions: GeneralizedNewtypeDeriving