Programmer-directed Optimizations 1. The most popular and easy way to improve performance is to use compiler's optimize options.
Compilers support their options for optimization.
Other approaches are roughly classified into two categories. 2. ristrictions In general, exception handling and RTTI both have some overhead. For users who do not use these functions, it is preferable to turn off them using compiler options. Programmers can get better performance by using these compilers options. When exceptions are disabled, the specifications of the standard libraries will be different.