How to accelerate the linking time?
Arun Chandrasekaran
aruncxy at gmail.com
Sat Jul 11 00:17:40 UTC 2020
On Friday, 10 July 2020 at 12:15:56 UTC, Steven Schveighoffer
wrote:
> On 7/10/20 1:45 AM, zoujiaqing wrote:
>> [...]
>
> The linking time is high because of the symbol count/sizes
> generally. Lots of templates means the linker takes a while to
> sort through the mess you made ;)
>
Mike Franklin optimized the mangling a while ago. That was a
crucial change, IMO (imagine how big the original was!).
Any idea why the unnecessary symbols gets generated by the
compiler (foreach, etc) in release mode? I can understand for
debug builds though...
More information about the Digitalmars-d
mailing list