Re: [GD-General] Multiple Inheritance and RTTI
Brought to you by:
vexxed72
From: <phi...@pl...> - 2003-02-05 19:41:50
|
>brian sharon <pud...@po...> wrote: >> Question: there were references to code bloat produced by RTTI. Is thatreally a big issue? It's just some bytes added per vtable - I'm wondering if anyone's measured it to come up with a more exact number than that. Noel Llopis <ll...@co...>: > You are right, it is probably not all that significant. I haven't measured it, and it can vary from implementation to implementation, but it's not going to amount to a lot of memory. The main drawback, on the PS2 at least, is that the RTTI information is in a seperate block, pointed to by an extra vtable member. This incurs an extra potential data cache miss every time the RTTI is accessed, and data cache misses are bad. Cheers, Phil |