Recursive SymbolNames solved.

Johan Engelen via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Jun 9 02:02:35 PDT 2016


On Thursday, 9 June 2016 at 04:58:45 UTC, Stefan Koch wrote:
> On Wednesday, 8 June 2016 at 13:28:19 UTC, Stefan Koch wrote:
>> Hi, I solved the issue.
>> PR is coming shortly.
>
> Solution is as follows:
>
> Keep a list of already visited symbols in the mangler.
> And information where we store the mangle.
> meaning the position in the mangle string.
> If a symbol is encountered for the second time store a 
> backrefernce rather then the symbol name again.

You mean this?
https://github.com/weka-io/ldc/commit/ffd6b55a4b83b3007d9690cbd9a25d07b243a00e

It did not result in a large reduction of symbol sizes.
http://forum.dlang.org/post/szodxrizfmufqdkpdryc@forum.dlang.org


More information about the Digitalmars-d-announce mailing list