[typing] Type-erasure re generics
bearophile
bearophileHUGS at lycos.com
Wed Sep 29 09:33:48 PDT 2010
Jonathan M Davis:
> And maybe someday dmd will get the aforementioned optimization would be make
> template instantiations with the same size for their type actually use one set
> of underlying code.
LDC is already able to do it in not too much complex situations if you compile D1 code using the -mergefunc switch too. I have a LLVM bug report open on this, they say they will further improve this feature.
Bye,
bearophile
More information about the Digitalmars-d
mailing list