Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
c6e3daca
Commit
c6e3daca
authored
Jul 28, 2005
by
simonmar
Browse files
[project @ 2005-07-28 15:41:47 by simonmar]
Document a few more options
parent
721d0619
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/docs/users_guide/using.xml
View file @
c6e3daca
...
...
@@ -1288,6 +1288,18 @@ f "2" = 2
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>
-fno-cse
</option>
<indexterm><primary><option>
-fno-cse
</option></primary></indexterm>
</term>
<listitem>
<para>
Turns off the common-sub-expression elimination optimisation.
Can be useful if you have some
<literal>
unsafePerformIO
</literal>
expressions that you don't want commoned-up.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>
-fno-strictness
</option>
...
...
@@ -1301,12 +1313,27 @@ f "2" = 2
<varlistentry>
<term>
<option>
-fno-cpr-analyse
</option>
<indexterm><primary><option>
-fno-cpr-analyse
</option></primary></indexterm>
<option>
-fno-full-laziness
</option>
<indexterm><primary><option>
-fno-full-laziness
</option></primary></indexterm>
</term>
<listitem>
<para>
Turns off the full laziness optimisation (also known as
let-floating). Full laziness increases sharing, which can lead
to increased memory residency.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>
-fno-state-hack
</option>
<indexterm><primary><option>
-fno-state-hack
</option></primary></indexterm>
</term>
<listitem>
<para>
Turns off the CPR (constructed product result)
analysis; it is somewhat experimental.
</para>
<para>
Turn off the "state hack" whereby any lambda with a
<literal>
State#
</literal>
token as argument is considered to be
single-entry, hence it is considered OK to inline things inside
it. This can improve performance of IO and ST monad code, but it
runs the risk of reducing sharing.
</para>
</listitem>
</varlistentry>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment