We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef2bca8 commit dcf7054Copy full SHA for dcf7054
src/Optimizations/GHC_opt/lambda_lifting.rst
@@ -114,7 +114,9 @@ second form is beneficial when there many calls of ``map`` on short lists.
114
function parameters at each call site. This means that whether lambda lifting
115
is a performance win or not depends on the usage pattern of the function as
116
we have demonstrated. See :ref:`When to Manually Apply Lambda Lifting <when>`
117
- for guidance on recognizing when your program may benefit.
+ for guidance on recognizing when your program may benefit. In general,
118
+ closure allocation is more expensive than pushing an extra parameter onto the
119
+ stack.
120
121
122
How Lambda Lifting Works in GHC
0 commit comments