summaryrefslogtreecommitdiff
path: root/compiler/utils/FastString.lhs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-07-10 12:48:27 +0000
committerIan Lynagh <igloo@earth.li>2008-07-10 12:48:27 +0000
commit0d792bea36420e657fb293d9f90f35d8ef96cb4f (patch)
tree5dcf00f71343dd76e6f7735e35651858f7d9c3ed /compiler/utils/FastString.lhs
parenta31cf953707dce54fc78bcffbd1773cc554dce8f (diff)
downloadhaskell-0d792bea36420e657fb293d9f90f35d8ef96cb4f.tar.gz
Move some flags from the Makefile into module pragmas
Diffstat (limited to 'compiler/utils/FastString.lhs')
-rw-r--r--compiler/utils/FastString.lhs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/utils/FastString.lhs b/compiler/utils/FastString.lhs
index ac79b5b75f..f338002709 100644
--- a/compiler/utils/FastString.lhs
+++ b/compiler/utils/FastString.lhs
@@ -2,6 +2,10 @@
% (c) The University of Glasgow, 1997-2006
%
\begin{code}
+{-# OPTIONS_GHC -O -funbox-strict-fields #-}
+-- We always optimise this, otherwise performance of a non-optimised
+-- compiler is severely affected
+
{-
FastString: A compact, hash-consed, representation of character strings.
Comparison is O(1), and you can get a Unique from them.