14 Aug
2008
14 Aug
'08
5:56 p.m.
Peter Dimov schrieb:
In practice, the reason to disable RTTI is simple: it leads to smaller executables. Most of the size penalty comes from the typeid().name() strings, which need to be emitted conservatively for every polymorphic type. Some numbers: I enabled RTTI testwise now, and my binaries are now 10% larger. (800 -> 880 kb). I had previously only exceptions enabled, but no RTTI. Compiler is VC9/x64
Cheers, Anteru