MagmaCollections

Chris Muller afunkyobject at yahoo.com
Mon Aug 18 02:00:34 UTC 2003


> I'm sorry I wasn't clear. I did a commit on every #add:. So it was along 
>   the lines of 64467 commits. :)

Ok, this explains why the file was so large.  Every time the collection grew,
the buffer for the collection becomes garbage in the database, just as objects
become garbage in the image.  It doesn't do this on every add, because the
buffer keeps extra growth space equivalent to the internal extra space
available in the actual Smalltalk object which, I believe, doubles every time,
but it would count for several smaller garbage copies of the buffer for the
large OrderedCollection.

 - Chris

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the Squeak-dev mailing list