[Issue 14758] TypeInfo causes excessive binary bloat

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 27 16:36:33 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=14758

--- Comment #17 from Mike <slavo5150 at yahoo.com> ---
GDC appears to have solved this problem by wrapping `TypeInfo.name` in a static
variable.  See
https://github.com/D-Programming-GDC/GDC/pull/505#event-1141470083

I tested it on ARM Cortex-M and it works as expected.  Perhaps there's
something there that the other compilers can leverage.

--


More information about the Digitalmars-d-bugs mailing list