[project @ 2001-03-13 15:44:58 by simonpj]
authorsimonpj <unknown>
Tue, 13 Mar 2001 15:44:58 +0000 (15:44 +0000)
committersimonpj <unknown>
Tue, 13 Mar 2001 15:44:58 +0000 (15:44 +0000)
Remove docs for -funfolding-interface-threshold

ghc/docs/users_guide/flags.sgml
ghc/docs/users_guide/using.sgml

index 4e9d9a5..dfca7cd 100644 (file)
            </row>
 
            <row>
-             <entry><option>-funfolding-interface-threshold</option></entry>
-             <entry>Tweak unfolding settings</entry>
-             <entry>static</entry>
-             <entry><option>-fno-unfolding-interface-threshold</option></entry>
-           </row>
-
-           <row>
              <entry><option>-funfolding-update-in-place</option></entry>
              <entry>Tweak unfolding settings</entry>
              <entry>static</entry>
index 69cd3d0..a5a691b 100644 (file)
@@ -1292,33 +1292,25 @@ data S = S !Int !Int
        </varlistentry>
 
        <varlistentry>
-         <term><option>-funfolding-interface-threshold&lt;n&gt;</option>:</term>
-         <listitem>
-           <indexterm><primary><option>-funfolding-interface-threshold</option></primary></indexterm>
-           <indexterm><primary>inlining, controlling</primary></indexterm>
-           <indexterm><primary>unfolding, controlling</primary></indexterm>
-
-           <para>(Default: 30) By raising or lowering this number,
-            you can raise or lower the amount of pragmatic junk that
-            gets spewed into interface files.  (An unfolding has a
-            &ldquo;size&rdquo; that reflects the cost in terms of
-            &ldquo;code bloat&rdquo; of expanding that unfolding in
-            another module.  A bigger function would be assigned a
-            bigger cost.)</para>
-         </listitem>
-       </varlistentry>
-
-       <varlistentry>
          <term><option>-funfolding-creation-threshold&lt;n&gt;</option>:</term>
          <listitem>
            <indexterm><primary><option>-funfolding-creation-threshold</option></primary></indexterm>
            <indexterm><primary>inlining, controlling</primary></indexterm>
            <indexterm><primary>unfolding, controlling</primary></indexterm>
            
-           <para>(Default: 30) This option is similar to
-            <option>-funfolding-interface-threshold</option>, except
-            that it governs unfoldings within a single module.
-            Increasing this figure is more likely to result in longer
+           <para>(Default: 45) Governs the maximum size that GHC will 
+            allow a function unfolding to be.   (An unfolding has a
+            &ldquo;size&rdquo; that reflects the cost in terms of
+            &ldquo;code bloat&rdquo; of expanding that unfolding at
+            at a call site. A bigger function would be assigned a
+            bigger cost.) </para>
+
+           <para> Consequences: (a) nothing larger than
+           this will be inlined (unless it has an INLINE pragma); (b) nothing larger
+           than this will be spewed into an interface file. </para>
+
+
+            <para> Increasing this figure is more likely to result in longer
             compile times than faster code.  The next option is more
             useful:</para>
          </listitem>