Murray Cumming wrote: > 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.
I think this is worth looking into ... I am not sure how this is done by the (gnu) C++ compiler. But I will create some more application with Gtkmm, and then I may know a little bit more about how it works, and what cost what. I will return to this subject later :-) /BL _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list