Large array slows down Squeak

Raab, Andreas Andreas.Raab at disney.com
Wed May 31 08:11:23 UTC 2000


> And there's another interesting observation.  In Morphic, the delay
> because of tenuring is much larger than in MVC.  This is probably
> because Morphic creates much more short-lived object garbage.
> 
> Thinking about this, could this be the reason, why Morphic 
> always feels a little bit slower than MVC?  If yes, then the
> best approach to speed up Morphic would be to reduce the number
> of temporary objects...

Interesting idea! Actually there's a way of playing with this - you could
add a #garbageCollectMost (which does an incremental GC) to the Worlds loop
cycle. That should get rid of most of the garbage extremely fast. Might be
worth a try ...

  - Andreas





More information about the Squeak-dev mailing list