on the length of symbols

weaselcat via Digitalmars-d digitalmars-d at puremagic.com
Mon May 11 14:21:48 PDT 2015


On Monday, 11 May 2015 at 14:04:07 UTC, Martin Nowak wrote:
> On Monday, 11 May 2015 at 09:33:42 UTC, weaselcat wrote:
>> here's a single symbol from my project
>
> The underlying problem is that symbols names grow quadratically 
> when combining templated ranges, because each range's name is a 
> template argument to the next range. Sometimes name occur 
> twice, as template argument and return type.
> An obvious solution to the problem is to adopt a compression 
> scheme similar to C++ mangling on Windows.

I thought DMC had identical mangling as msvc? Is the D mangling 
not based on DMC, or am I just wrong on the first assumption?


More information about the Digitalmars-d mailing list