- Use integer variables rather than real variables whenever possible.
- Use integer division (DIV) rather than normal division (/).
- Use integer arrays rather than real arrays.
- Start your variable names with different letters of the alphabet.
- Omit the control variable after the instruction NEXT.
- REPEAT . . . UNTIL loops are faster than IF . . . THEN GOTO loops.
- Use procedures instead of GOSUBs.
- Use as few line numbers as possible by using a colon to separate each statement.
- Leave out as many spaces as possible, without confusing the computer.
- Omit REM statements.
Some of these tips will have the effect of making your programs less readable. This is not a good thing, but in cases where speed is all important, you may find that you will have to reach a compromise between readability and execution speed.