summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--doc/manual/procs.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/manual/procs.txt b/doc/manual/procs.txt
index 5fda7bb0f..e03845d76 100644
--- a/doc/manual/procs.txt
+++ b/doc/manual/procs.txt
@@ -297,6 +297,11 @@ One can use `tuple unpacking`:idx: to access the tuple's fields:
   assert y == 3
 
 
+**Note**: ``var`` parameters are never necessary for efficient parameter
+passing. Since non-var parameters cannot be modified the compiler is always
+free to pass arguments by reference if it considers it can speed up execution.
+
+
 Var return type
 ---------------