Commit c6e3daca authored by simonmar's avatar simonmar
Browse files

[project @ 2005-07-28 15:41:47 by simonmar]

Document a few more options
parent 721d0619
...@@ -1288,6 +1288,18 @@ f "2" = 2 ...@@ -1288,6 +1288,18 @@ f "2" = 2
</listitem> </listitem>
</varlistentry> </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> <varlistentry>
<term> <term>
<option>-fno-strictness</option> <option>-fno-strictness</option>
...@@ -1301,12 +1313,27 @@ f "2" = 2 ...@@ -1301,12 +1313,27 @@ f "2" = 2
<varlistentry> <varlistentry>
<term> <term>
<option>-fno-cpr-analyse</option> <option>-fno-full-laziness</option>
<indexterm><primary><option>-fno-cpr-analyse</option></primary></indexterm> <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> </term>
<listitem> <listitem>
<para>Turns off the CPR (constructed product result) <para>Turn off the "state hack" whereby any lambda with a
analysis; it is somewhat experimental.</para> <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> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment