While the compiler always performs some optimizations during a build, it can perform additional ones by turning on Optimized mode.
Optimized mode can be turned on using the -O switch on the commandline, or by enabling it in the project properties in the IDE. Optimized mode can be used for any project type.
Enabling optimization in the Roadsend compiler will make your programs run faster at the expense of making them a little bit harder to debug. For example, in optimized mode, backtraces will be much less accurate – most functions won't be included. For this reason, we recommend that you leave it off until your program ready to be deployed.