Long symbol names (Was: demangle doesn't work with...)

deadalnix deadalnix at gmail.com
Mon May 27 11:22:40 PDT 2013


On Monday, 27 May 2013 at 18:14:59 UTC, Peter Alexander wrote:
> On Monday, 27 May 2013 at 16:18:34 UTC, David Nadlinger wrote:
>> On Monday, 27 May 2013 at 15:22:21 UTC, Peter Alexander wrote:
>>> Am I the only person that worries greatly about the length of 
>>> symbols in D?
>> ———
>> <snip>
>> ———
>>
>> That's 13 kilobytes of data for a single symbol name!
>
> The symbols typically contain a lot of repeated sub strings. 
> Perhaps there is a better mangling scheme that encodes it with 
> some kind of prefix tree?

The way template are mangled in super redundant. This can 
probably be fixed easily, but this is a breakage.


More information about the Digitalmars-d mailing list