|
|
|
|
|
by Crinus
2637 days ago
|
|
I'd say most people, by far, are perfectly fine with -O1 performance. -O2 (and higher) is only needed for very small and specific parts of a codebase (e.g. the inner parts of encoding and rendering). The problem is having both at the same time (i haven't seen any build configuration try to mix optimization levels) without compromising on compiler speed for -O1, so projects that require -O2 for a 0.1% of their codebase apply it for 100% of it. In theory depending on the language you could mix different compilers, but that is a big can of worms (and other bugs). |
|