Mike Parker:

>Also, and this is a big one for me, anonymous enums generate no TypeInfo, 
>which can save a lot of space in the binary over named enums.<

This is interesting. How much size differences do you see?

LDC compiler seems designed for practical usage, it has:
pragma(no_typeinfo)
You can use this pragma to stop typeinfo from being implicitly generated for a 
declaration. 

There is this too (but I think it's not implemented yet):
pragma(no_moduleinfo)

Similar pragmas can be added to dmd too.

Bye,
bearophile

Reply via email to