Yes with modules, functions are compiled separately, like object files, and the compiler only "sees" them during the link stage. Optimizations like inlining happen at link time, similar to link-time optimization (LTO) in headers. So, modules optimize later but work similarly to LTO