Need a Faster Compressor

Rainer Schuetze via Digitalmars-d digitalmars-d at puremagic.com
Sun May 22 11:04:25 PDT 2016



On 22.05.2016 19:56, Era Scarecrow wrote:
> On Sunday, 22 May 2016 at 17:44:22 UTC, Rainer Schuetze wrote:
>> You are right about the symbols using the VC mangling. The test case
>> "1.s.s.s.s.s" in the bugreport translated to C++ yields
>>
>> ?foo at Result@?1???$s at UResult@?1???$s at UResult@?1???$s <snip>
>>
>> i.e. 936 characters. I think this is due to the very bad limitation of
>> just back referencing the first 10 types.
>
>  Unless ? is the proper/valid character those are far more likely to be
> failed UTF-8 decoding. Care to double check?

? is an allowed character in VC++ and for example permits unambiguous 
demangling. The gcc style using only alpha numeric chanracters and '_' 
can also just be plain C symbols.


More information about the Digitalmars-d mailing list