I tried to use core.demangle to print human-readable profiling reports and
it still seems to fail horribly on some symbols.  The un-demanglable symbols
seem to  be really complicated template instantiations, like
randomShuffle!(chain!(... .  IIRC there's some fundamental limitation where
once a symbol gets huge DMD relies on hashing, so the mangling no longer has
an inverse.  Is this true, or is it worth spending some time trying to
create a decent test case?

On Fri, Sep 10, 2010 at 10:14 AM, Andrei Alexandrescu <[email protected]>wrote:

> Remove std.demangle and continue maintaining core.demangle.
>
> Andrei
>
>
> On 9/10/10 9:01 CDT, Sean Kelly wrote:
>
>> I wasn't sure whether to fix std.demangle now that core.demangle works, or
>> to replace/deprecate it.  At the time I just needed something in druntime
>> and I didn't like how std.demangle did everything via string ops. What do
>> you all think?
>>
>> Sent from my iPhone
>>
>> On Sep 10, 2010, at 1:12 AM, Lars Tandle Kyllingstad<[email protected]>
>>  wrote:
>>
>>  I've noticed that Sean has recently added the core.demangle module to
>>> druntime.  Does this mean we can deprecate std.demangle?  I've never
>>> used it myself, but I seem to remember people saying on the NG that it
>>> is pretty outdated.
>>>
>>> -Lars
>>>
>>> _______________________________________________
>>> phobos mailing list
>>> [email protected]
>>> http://lists.puremagic.com/mailman/listinfo/phobos
>>>
>> _______________________________________________
>> phobos mailing list
>> [email protected]
>> http://lists.puremagic.com/mailman/listinfo/phobos
>>
> _______________________________________________
> phobos mailing list
> [email protected]
> http://lists.puremagic.com/mailman/listinfo/phobos
>
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to