I have a source file that contains a number of functions and I want to set the optimization level of one of those functions to a different value. Is it possible to set the optimization level of a single function within a single source file?
No, the optimization level can only be set for the entire source file using the Compiler > Optimization Level project property. You will need to put the function into another source file and set the optimization level of this source file to the required value.
Please sign in to leave a comment.