do I have to garbageCollect every time I create a large object?

Tim Rowledge tim at sumeru.stanford.edu
Fri Aug 10 00:59:32 UTC 2001


> Right...the specific need I have is for implementing a cache
> mechanism...even if that cache needed to hold 1 million objects, it
> would only rarely need to be allocated (when adjusting the size of the
> cache for instance)...
Consider a bucket cache. A collection of collections, each one
representing a range of the cache. I think the symbol table might be
implemented that way at the moment?

tim
-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Useful random insult:- One pearl short of a necklace.





More information about the Squeak-dev mailing list