<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Thank you very much!.<br></div><div><br></div><div><br></div><div class="zmail_extra_hr" style="border-top: 1px solid rgb(204, 204, 204); height: 0px; margin-top: 10px; margin-bottom: 10px; line-height: 0px;"><br></div><div class="zmail_extra" data-zbluepencil-ignore="true"><div><br></div><div id="Zm-_Id_-Sgn1">---- On Mon, 25 Oct 2021 18:17:41 -0400 <b>Jakob Reschke <jakres+squeak@gmail.com></b> wrote ----<br></div><div><br></div><blockquote style="margin: 0px;"><div>Hi Timothy, <br> <br>I suppose the same arguments as to global variables in general apply. <br> <br>Watch out for memory leaks if the objects in your collections may end <br>up being unused. <br> <br>Regarding your term of "live" objects, if you mean that they are <br>mutable, there is nothing wrong with that. Another typical use of a <br>class variable is a registry of instances, such as ChangeSet <br>AllChangeSets. <br> <br>Kind regards, <br>Jakob <br> <br>Am Mo., 25. Okt. 2021 um 21:49 Uhr schrieb gettimothy via Squeak-dev <br><<a href="mailto:squeak-dev@lists.squeakfoundation.org" target="_blank">squeak-dev@lists.squeakfoundation.org</a>>: <br>> <br>> Namespaces := Dictionary new. <br>> Namespaces <br>> add: (-2) -> OrderedCollection new; <br>>       add: (-1) -> OrderedCollection new; <br>>       add: (0) -> OrderedCollection new; <br>>       add: (1) -> OrderedCollection new; <br>>       add: (2) -> OrderedCollection new; <br>>       add: (3) -> OrderedCollection new; <br>>       add: (4) -> OrderedCollection new; <br>>       add: (5) -> OrderedCollection new; <br>>       add: (6) -> OrderedCollection new; <br>> <br>> <br>> Hi Folks, <br>> <br>> I am going to be adding a lot of objects to the ordered collections in that dictionary. <br>> <br>> Basically, this is a Class pointing to a large number of Objects. <br>> <br>> Is that a good place to put them? <br>> <br>> I need these things to persist in image after shut-down. <br>> <br>> <br>> Thx in advance. <br>> <br>> t <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br></div></blockquote></div><div><br></div></div><br></body></html>