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
57aa4c8a
Commit
57aa4c8a
authored
Apr 10, 2006
by
Simon Marlow
Browse files
add a note about full-laziness
parent
a0c6f738
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/users_guide/using.xml
View file @
57aa4c8a
...
...
@@ -1383,6 +1383,16 @@ f "2" = 2
<para>
Turns off the full laziness optimisation (also known as
let-floating). Full laziness increases sharing, which can lead
to increased memory residency.
</para>
<para>
NOTE: GHC doesn't implement complete full-laziness.
When optimisation in on, and
<option>
-fno-full-laziness
</option>
is not given, some
transformations that increase sharing are performed, such
as extracting repeated computations from a loop. These
are the same transformations that a fully lazy
implementation would do, the difference is that GHC
doesn't consistently apply full-laziness, so don't rely on
it.
</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