The -optimize option enables or disables optimizations performed by the compiler to make your output file smaller, faster, and more efficient.
-optimize[+ | -]
-optimize also tells the common language runtime to optimize code at runtime.
By default, optimizations are disabled. Specify -optimize+ to enable optimizations.
When building a module to be used by an assembly, use the same -optimize settings as those of the assembly.
-o is the short form of -optimize.
It is possible to combine The -optimize and -debug options.
1.Open the project's Properties page.
2.Click the Build property page.
3.Modify the "Optimize" property.
4.Click here to see the property page
Compile t2.prg and enable compiler optimizations:
xsc t2.prg -optimize