Compile benchmarks with -fno-method-sharing
authorRoman Leshchinskiy <rl@cse.unsw.edu.au>
Mon, 24 May 2010 04:09:09 +0000 (04:09 +0000)
committerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Mon, 24 May 2010 04:09:09 +0000 (04:09 +0000)
benchmarks/vector-benchmarks.cabal

index 597d150..47b1e1e 100644 (file)
@@ -17,9 +17,9 @@ Executable algorithms
                  vector == 0.6.0.1
 
   if impl(ghc<6.13)
-    Ghc-Options: -finline-if-enough-args -fno-method-sharing
+    Ghc-Options: -finline-if-enough-args
   
-  Ghc-Options: -O2
+  Ghc-Options: -O2 -fno-method-sharing
 
   Other-Modules:
         Algo.ListRank