Same as /Og /Oy /Ob1 /Gs /Gf /Gy /Os (global opts, omit frame ptr, allow inlines, stack probes off, func-level linking, favor code size over speed) Linker only includes functions referenced in the OBJ rather than the entire contents Put duplicate strings in one read-only memory location. Put duplicate strings in one memory location. Reserved for future use.Ĭaller cleans stack. Optimize for Windows (specifically access to thread-specific data) Microsoft default values for release builds are highlighted. Alternate methods are given when an optimization can be specified directly in the code. The following table lists all of the MS Visual C++ 6.0 "C" optimizations for reference. The compiler assigns a higher priority to producing consistent and correct code than optimizing performance. Be aware that sometimes the compiler won't perform optimizations even though it can. Most PC compilers are good, but not great, at optimization. A good compiler can have a huge effect on code performance.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |