[Seaside] Importing halo's from Monticello

John Pierce john.raymond.pierce at gmail.com
Sat Jun 4 01:21:33 CEST 2005


> One thing I notice about the InstanceEncoder is that it doesn't cache
> the objects after decoding them. This could be done in a literal
> inside the method - something like this:
> 
> myObject
> |cache|
> cache := #(nil).
> ^ cache first ifNil: [cache at: 1 put: '..............' reconsituteObject]


Okay, so I think I've forgotten how temps work. Why doesn't cache just get 
garbage collected after each call to #myObject?

John 

-- 
It's easy to have a complicated idea. It's very very hard to have a simple 
idea. -- Carver Mead
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20050603/3b7dc21c/attachment.htm


More information about the Seaside mailing list