Hello, I am starting my experiments with Rebol. I want to write a small
application to learn more about Rebol objects.
I need to have an array of the same object. The object contains data and
code (methods). The methods code should be defined at the creation of the
instance of the object. The method "interface" will always be the same and
method will have 5/6 different kind of code in N (even >10.000) instances
the object.
The question are:
- does Rebol create in memory a new instance of the method code for each
instance of the object ?
- could I reuse the same 5/6 kinds of code without duplicating the code in
memory when I generate a new instance of the same object (In other words a
relative link to code) ?
The main goal is to save memory and have speed.
Thank you in advance
Giuseppe Chillemi
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.