local time (was: something about Celeste)

Tim Rowledge rowledge at interval.com
Fri Dec 3 07:18:43 UTC 1999


On Thu 02 Dec, David T. Lewis wrote:

> I would suggest one minor implemention tweak: There is no need to pass
> an array to primitiveLocalSecondsClockWithOffset.  It's easy to instantiate
> the array in the primitive, so the wrapper around the primitive becomes:
Best not. If you create objects within a primitive, all you can do is
fail if memory is low. If you create the object _before_ invoking the
primitive, then all the power of the image's handling of memory problems
is open to you. You also avoid the (admittedly minor) tedium of having
to cope with remapping of oops if you are creating multiple objects.
Consider it a hard won lesson from time served at PPS.

tim

-- 
Strange OpCodes: BA: Branch Approximate
Tim Rowledge:  rowledge at interval.com (w)  +1 (650) 842-6110 (w)
 tim at sumeru.stanford.edu (h)  <http://sumeru.stanford.edu/tim>





More information about the Squeak-dev mailing list