Removing RTTI from binaries

Jens Bauer via D.gnu d.gnu at puremagic.com
Fri May 1 23:31:45 PDT 2015


> Am Thu, 30 Apr 2015 14:27:15 +0000
> schrieb "Jens Bauer" <doctor at who.no>:
>> I was wondering... Would it be possible to make selective 
>> TypeInfo ?
>> -Eg. Only add TypeInfo for those things that really need it.
>
{snip}
On Thursday, 30 April 2015 at 19:24:14 UTC, Johannes Pfau wrote:
> I think one place where you really need it is downcasting class 
> objects.

Casting was what I was thinking of, because when I needed to do a 
dynamic_cast in C++, I only needed it for one, maybe two classes.
Thus if being able to enable it selectively for one out of 10 
classes, it might help on the memory footprint.


More information about the D.gnu mailing list