> BTW, I think that would be a meaningful addition. Could somebody quickly
> check the method to verify that I didn't do any miscalculation?

The only problem I see is that variable objects might also have
inst-vars. So you need to count the

    self class instSize * Smalltalk wordSize

part in any case.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to