Share via


Visual Basic Concepts

Optimize for Fast Code

Maximizes the speed of compiled executable files by instructing the compiler to favor speed over size.

When the compiler translates Visual Basic statements into machine code, there are often many different sequences of machine code that can correctly represent a given statement or construct. Sometimes these differences offer trade-offs of size versus speed. Selecting this option ensures that when the compiler recognizes such alternatives it will always generate the fastest code sequence possible, even when that may increase the size of the compiled program.