Quote Originally Posted by wysota View Post
BTW. Debug versions of applications usually compile faster than release ones because they have optimizations turned off. Of course for simple applications there is not much to be optimized so the difference is insignificant.
i think optimization isn't the only or most effective parameter involved.
and there should be several other more effective parameters in adverse.
i think the effect of optimizations is insignificant in all or most of common cases.

i tested on 3 of qt examples of different categories.
the average was 100% faster. all builds were considerably faster in release mode.
and i think you can find very few programs that compile even a little faster in debug mode, if at all!
most or more usual programs are build considerably slower in debug mode.
if you know exceptions introduce them to me to test!