File 0064-Extend-the-text-for-_-myth.patch of Package erlang

From 6ecbfdcce4dc8b1c58a4f34e2edd8eaabd54793f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Tue, 13 Dec 2016 14:17:03 +0100
Subject: [PATCH 4/4] Extend the text for "_" myth

Thanks to Joe Armstrong for the suggestion.
---
 system/doc/efficiency_guide/myths.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/system/doc/efficiency_guide/myths.xml b/system/doc/efficiency_guide/myths.xml
index 168aa3d35..778cd06c0 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>
-- 
2.11.0

openSUSE Build Service is sponsored by