3 ms·
It's complicated and not at all clear. For example, most modules import other modules. With separate compilation, most of the modules need to be compiled multip
by WalterBright 1y ago
It's complicated and not at all clear. For example, most modules import other modules. With separate compilation, most of the modules need to be compiled multiple times, with all-together, it's only once.
On the other hand, the optimizer and code generator can be run concurrently in multiple processes/threads.