|
Boost Users : |
From: Emil Dotchevski (emil_at_[hidden])
Date: 2008-08-14 15:46:04
On Thu, Aug 14, 2008 at 10:56 AM, Anteru
<newsgroups_at_[hidden]> wrote:
> 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
RTTI does have overhead, but if you want to use Boost Exception you
have to enable RTTI. It uses it because it needs it.
Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net