From ecaf93533a3d2d82b2665ed776a387334804ecdd Mon Sep 17 00:00:00 2001 From: simonpj Date: Tue, 13 Mar 2001 15:44:58 +0000 Subject: [PATCH] [project @ 2001-03-13 15:44:58 by simonpj] Remove docs for -funfolding-interface-threshold --- ghc/docs/users_guide/flags.sgml | 7 ------- ghc/docs/users_guide/using.sgml | 34 +++++++++++++--------------------- 2 files changed, 13 insertions(+), 28 deletions(-) diff --git a/ghc/docs/users_guide/flags.sgml b/ghc/docs/users_guide/flags.sgml index 4e9d9a5..dfca7cd 100644 --- a/ghc/docs/users_guide/flags.sgml +++ b/ghc/docs/users_guide/flags.sgml @@ -782,13 +782,6 @@ - - Tweak unfolding settings - static - - - - Tweak unfolding settings static diff --git a/ghc/docs/users_guide/using.sgml b/ghc/docs/users_guide/using.sgml index 69cd3d0..a5a691b 100644 --- a/ghc/docs/users_guide/using.sgml +++ b/ghc/docs/users_guide/using.sgml @@ -1292,33 +1292,25 @@ data S = S !Int !Int - : - - - inlining, controlling - unfolding, controlling - - (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 - “size” that reflects the cost in terms of - “code bloat” of expanding that unfolding in - another module. A bigger function would be assigned a - bigger cost.) - - - - : inlining, controlling unfolding, controlling - (Default: 30) This option is similar to - , except - that it governs unfoldings within a single module. - Increasing this figure is more likely to result in longer + (Default: 45) Governs the maximum size that GHC will + allow a function unfolding to be. (An unfolding has a + “size” that reflects the cost in terms of + “code bloat” of expanding that unfolding at + at a call site. A bigger function would be assigned a + bigger cost.) + + 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. + + + Increasing this figure is more likely to result in longer compile times than faster code. The next option is more useful: -- 1.7.10.4