3 ms·
Yes, absolutely, that's the trick with unity builds. It is supposed to be slower because you're asking the compiler to rebuild everything from scratch every tim
by stephc_int13 6y ago
Yes, absolutely, that's the trick with unity builds.
It is supposed to be slower because you're asking the compiler to rebuild everything from scratch every time.
But the simplicity of the single compilation unit leads to very sizeable gains.
I plan to write an article on this very subject and post a few benchmarks.
https://en.wikipedia.org/wiki/Unity_build https://en.wikipedia.org/wiki/Unity_build