Re: [Pharo-users] Persisting data in the Image

2017-02-06 Thread Ben Coman
On Tue, Feb 7, 2017 at 4:07 AM, Sven Van Caekenberghe wrote: > > > > On 6 Feb 2017, at 20:20, sergio ruiz wrote: > > > > Is it enough to create a collection on a class to persist data and keep it > > away from the GC? > > > > something like: > > > > class Person>>people > > ^ > > > > wher

Re: [Pharo-users] Persisting data in the Image

2017-02-06 Thread sergio ruiz
Got it.. not just a method.. Thanks! On February 6, 2017 at 3:08:37 PM, Sven Van Caekenberghe (s...@stfx.eu) wrote: You need to put the collection in a class variable (or in some global variable).  peace, sergio photographer, journalist, visionary Public Key: http://bit.ly/29z9fG0 #BitMe

Re: [Pharo-users] Persisting data in the Image

2017-02-06 Thread Sven Van Caekenberghe
> On 6 Feb 2017, at 20:20, sergio ruiz wrote: > > Is it enough to create a collection on a class to persist data and keep it > away from the GC? > > something like: > > class Person>>people > ^ > > where add: and remove: would remove them from the collection.. You need to put the col

[Pharo-users] Persisting data in the Image

2017-02-06 Thread sergio ruiz
Is it enough to create a collection on a class to persist data and keep it away from the GC? something like: class Person>>people ^ where add: and remove: would remove them from the collection.. peace, sergio photographer, journalist, visionary Public Key: http://bit.ly/29z9fG