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?<br>
<br><div class="gmail_quote">On Fri, Sep 10, 2010 at 10:14 AM, Andrei Alexandrescu <span dir="ltr"><<a href="mailto:andrei@erdani.com">andrei@erdani.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Remove std.demangle and continue maintaining core.demangle.<br><font color="#888888">
<br>
Andrei</font><div><div></div><div class="h5"><br>
<br>
On 9/10/10 9:01 CDT, Sean Kelly wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
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?<br>
<br>
Sent from my iPhone<br>
<br>
On Sep 10, 2010, at 1:12 AM, Lars Tandle Kyllingstad<<a href="mailto:lars@kyllingen.net" target="_blank">lars@kyllingen.net</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I've noticed that Sean has recently added the core.demangle module to<br>
druntime. Does this mean we can deprecate std.demangle? I've never<br>
used it myself, but I seem to remember people saying on the NG that it<br>
is pretty outdated.<br>
<br>
-Lars<br>
<br>
_______________________________________________<br>
phobos mailing list<br>
<a href="mailto:phobos@puremagic.com" target="_blank">phobos@puremagic.com</a><br>
<a href="http://lists.puremagic.com/mailman/listinfo/phobos" target="_blank">http://lists.puremagic.com/mailman/listinfo/phobos</a><br>
</blockquote>
_______________________________________________<br>
phobos mailing list<br>
<a href="mailto:phobos@puremagic.com" target="_blank">phobos@puremagic.com</a><br>
<a href="http://lists.puremagic.com/mailman/listinfo/phobos" target="_blank">http://lists.puremagic.com/mailman/listinfo/phobos</a><br>
</blockquote>
_______________________________________________<br>
phobos mailing list<br>
<a href="mailto:phobos@puremagic.com" target="_blank">phobos@puremagic.com</a><br>
<a href="http://lists.puremagic.com/mailman/listinfo/phobos" target="_blank">http://lists.puremagic.com/mailman/listinfo/phobos</a><br>
</div></div></blockquote></div><br>