Lexicon Entry
-O2
-O2 is a common compiler flag used in GCC and Clang that enables most optimizations that do not involve a space-speed tradeoff, providing a strong balance between compilation time and execution speed.
-O2 is a common compiler flag used in GCC and Clang that enables most optimizations that do not involve a space-speed tradeoff, providing a strong balance between compilation time and execution speed.