Squeak becomes (almost) autistic???

Ned Konz ned at bike-nomad.com
Thu Oct 26 06:33:50 UTC 2000


jchludzinski at worldkey.net wrote:
> 
> I have an app (a simulation) with several Processes running
> concurrently.  Each Process is a #fork of a #run method which
> contains an infinite loop.  At the bottom of each loop is a:
> 
> delay wait
> 
> statement, where
> 
> delay _ Delay forSeconds: 2.

Make sure that you're creating the delay outside the loop; I don't
know how well (or often) the Delays get garbage collected. You can
re-use a Delay.

Does your image speed up when you do:

	Smalltalk garbageCollect
 
-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com





More information about the Squeak-dev mailing list