On 4/4/15 1:30 AM, Atila Neves wrote:
On Friday, 3 April 2015 at 19:49:04 UTC, Andrei Alexandrescu wrote:
On 4/3/15 11:06 AM, Atila Neves wrote:
It's true that it's not always faster to compile each module separately,
I already knew that. It seems to me, however, that when that's actually
the case, the practical difference is negligible. Even if 10x slower,
the linker will take longer anyway. Because it'll all still be under a
second. That's been my experience anyway. i.e. It's either faster or it
doesn't make much of a difference.
Whoa. The difference is much larger (= day and night) on at least a
couple of projects at work.
Even when only one file has changed?
Yes; due to interdependencies, it's rare that only one file gets
compiled. -- Andrei