I have the 900 bytes of useless code because with Gotos and Labels it has to search through the code to find the Label, and so 'twould take longer with the 900 bytes. My new experiment today:
Running the Goto-using program with 900 bytes of code versus without it:
:1→Q
:If Q=5:Then
900 bytes of useless code
:End
:Lbl A
:If Q=Q:Then
:Output(1,1,Q
:1+Q→Q
:Goto A
:End
with the 900 bytes: 12.68 seconds for the calculator to count to 150 (memory error around 180)
without the 900 bytes: 8.06 seconds for the calculator to count to 150 (memory error still around 180)
And for the last experiment, Repeat loop vs. Goto loop without the extra 900 bytes:
:1→Q
:Repeat 0
:If Q=Q:Then
:Output(1,1,Q
:1+Q→Q
:End
:End
Using Goto loop: counts to 150 in 8.06 seconds (memory error still around 180)
Using Repeat loop: counts to 150 in 7.01 seconds (no memory error)