Move some flags from the Makefile into module pragmas
[ghc-hetmet.git] / compiler / utils / StringBuffer.lhs
index d51c800..3b2a3df 100644 (file)
@@ -6,6 +6,10 @@
 Buffers for scanning string input stored in external arrays.
 
 \begin{code}
+{-# OPTIONS_GHC -O -funbox-strict-fields #-}
+-- We always optimise this, otherwise performance of a non-optimised
+-- compiler is severely affected
+
 module StringBuffer
        (
         StringBuffer(..),