On Mon, 20 Jul 2009 21:34:32 +0200
Paolo Bonzini <[email protected]> wrote:

> st> (b := a allOwners) collect: [ :e | e class ]

allOwners ... good thing I didn't start writing a reference finder :-)

> st> b first attributes basicSize
> 32

is basicSize the RAM allocated for "the object itself", i.e. mostly the
pointers referencing other objects?

those are two very valuable tools ... thanks.
 
> st> b first children basicSize
> 16
> 
> 13 megabytes:
> 
> st> Iliad.RawHtmlElement allInstances count: [ :e | e children size = 0 
> & e attributes size = 0 ]
> 26945
> 
> plus 6 more for Iliad.BreakElement:

heh ... 6MB for <br/>? that's about all the breaks I need in a lifetime :-)

> I'll look at Accept later.

This is great. If Nico's reorganization action works out and if we can
further reduce the amount of RAM per element, Iliad will run really well
even with scarce resources.

I'll be tied up with other work until Wednesday, but hope to look at this
again then.

Thanks for all your effort,
s.


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to