Re: virtual signal system ?



On Sun, 2006-11-12 at 00:02 +0100, Bo Lorentsen wrote:
> Paul Pogonyshev wrote:
> > Bo Lorentsen wrote:
> >> If a standard widget class holds about 50 unused virtual functions, that 
> >> is an extra 200 bytes in 32 bit, and 400 in 64 bit. In your case this 
> >> will ends up using 200 * 2000 = 400 K bytes in 32 bit and 800K in 64 bit.
> > 
> > Mmm, there is one virtual function table per class, not per object...
> Sorry, you are right ...

Really, I think it's per object. I think that's the point.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]