diff options
author | Björn Gustavsson <[email protected]> | 2016-12-13 14:17:03 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-12-19 14:39:43 +0100 |
commit | 6ecbfdcce4dc8b1c58a4f34e2edd8eaabd54793f (patch) | |
tree | cb6a01ff7e32fa5fd2054af099a9ebf68fa123ad /system/doc/efficiency_guide | |
parent | 15da52e7c74d3a0406efdfd469a040a5a226704e (diff) | |
download | otp-6ecbfdcce4dc8b1c58a4f34e2edd8eaabd54793f.tar.gz otp-6ecbfdcce4dc8b1c58a4f34e2edd8eaabd54793f.tar.bz2 otp-6ecbfdcce4dc8b1c58a4f34e2edd8eaabd54793f.zip |
Extend the text for "_" myth
Thanks to Joe Armstrong for the suggestion.
Diffstat (limited to 'system/doc/efficiency_guide')
-rw-r--r-- | system/doc/efficiency_guide/myths.xml | 5 |
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> |