/optimize[+ | -]
Compiler optimizations make your output file smaller, faster, and more efficient but can make debugging difficult. By default, /optimize is in effect. Specifying /optimize is the same as specifying /optimize+.
To prevent an optimized output file, specify /optimize-.
It is possible to combine the /optimize and /debug options.
Compile t2.vb
and enable compiler optimizations:
vbc t2.vb /optimize