Tips for golfing in Whispers Whispers is February 2021's Language of the Month, so what tips do you have for golfing in it? Tips do not have to be specific to code-golf, so long as they apply to other types of challenges on the site. Tips should be at least somewhat specific to Whispers (e.g. &quot;remove ignored code&quot; is not an answer). Please post one tip per answer.
Order is important
Swap lines that are referenced more frequently than other lines with less referenced lines that are referenced by a small digit number.
Example:
&gt; 1
&gt; 2
&gt; 3
&gt; 4
&gt; 5
&gt; 6
&gt; 7
&gt; 8
&gt; 9
&gt; Input
&gt;&gt; #10
&gt;&gt; [10]
&gt;&gt; Output 11 12

The input is referenced twice and the line number is 10. If this line is moved up to line 1. Both 10s are replaced by 1s. In this example 2 bytes were saved.
&gt; Input
&gt; 1
&gt; 2
&gt; 3
&gt; 4
&gt; 5
&gt; 6
&gt; 7
&gt; 8
&gt; 9
&gt;&gt; #1
&gt;&gt; [1]
&gt;&gt; Output 11 12

Moving line 11 and 12 up saves another 2 bytes.
&gt; Input
&gt;&gt; #1
&gt;&gt; [1]
&gt; 1
&gt; 2
&gt; 3
&gt; 4
&gt; 5
&gt; 6
&gt; 7
&gt; 8
&gt; 9
&gt;&gt; Output 2 3

I wrote a script that takes a Whispers program as input and prints the optimized re-ordered program.
TIO | Github