[REBOL] Re: Copy & Memory
From: volker::nitsch::gmail::com at: 19-Dec-2004 15:18
On Sun, 19 Dec 2004 17:09:06 +0800, PeterWAWood <[pwawood--mango--net--my]> wrote:
> Does Copy create a new underlying value or simply create a new pointer to
> the existing value?
The top-level of the series is copied. references point to the old
values (ie. inner blocks and strings are shared. integers and such
small things are copied.).
copy/deep copies also references, except of objects. objects are always shared.
> In either case is there a simple way of querying the system object to
> manually monitor memory usage?
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.296 / Virus Database: 265.6.0 - Release Date: 17/12/2004
> To unsubscribe from the list, just send an email to rebol-request
> at rebol.com with unsubscribe as the subject.
Any problem in computer science can be solved with another layer of
indirection. But that usually will create another problem.