aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-12-13 14:17:03 +0100
committerBjörn Gustavsson <[email protected]>2016-12-19 14:39:43 +0100
commit6ecbfdcce4dc8b1c58a4f34e2edd8eaabd54793f (patch)
treecb6a01ff7e32fa5fd2054af099a9ebf68fa123ad
parent15da52e7c74d3a0406efdfd469a040a5a226704e (diff)
downloadotp-6ecbfdcce4dc8b1c58a4f34e2edd8eaabd54793f.tar.gz
otp-6ecbfdcce4dc8b1c58a4f34e2edd8eaabd54793f.tar.bz2
otp-6ecbfdcce4dc8b1c58a4f34e2edd8eaabd54793f.zip
Extend the text for "_" myth
Thanks to Joe Armstrong for the suggestion.
-rw-r--r--system/doc/efficiency_guide/myths.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/doc/efficiency_guide/myths.xml b/system/doc/efficiency_guide/myths.xml
index 168aa3d35c..778cd06c09 100644
--- a/system/doc/efficiency_guide/myths.xml
+++ b/system/doc/efficiency_guide/myths.xml
@@ -152,6 +152,11 @@ vanilla_reverse([], Acc) ->
<p>That was once true, but from R6B the BEAM compiler can see
that a variable is not used.</p>
+
+ <p>Similarly, trivial transformations on the source-code level
+ such as converting a <c>case</c> statement to clauses at the
+ top-level of the function seldom makes any difference to the
+ generated code.</p>
</section>
<section>