u/celestabesta

Is there a runtime performance difference between incremental and unity builds?

On one hand, a unity build would expose the implementation of every function, allowing for better optimization. On the other hand, things that were previously local to one translation unit would now be exposed across the project, possibly harming the compiler's ability to reason about its usage.

reddit.com
u/celestabesta — 20 hours ago