Hi, Chris,
My guess, like yours, was that the garbage management would handle the
problem. But life, like vote counting in Florida, does not always work like
it is supposed to work. So I tested your functions in Windows 98. I opened
the Resource Meter and looped the f function 1 million times continuously
(while I went for some more coffee ;-). No drop in resources was noted
after the initial instantiation (and no dimpled or hanging chads were
found).
This information and 35 cents will hopefully buy you a phone call.
Scott
----- Original Message -----
From: "CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN"
<[EMAIL PROTECTED]>
To: "REBOL List (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, January 19, 2001 4:27 AM
Subject: [REBOL] Unloading object from memory
> Hi REBOLians
>
> Please consider this code:
>
> >> o: make object! [showone: does [print "one"]]
> >> f: func [/local o'][o': make o [] o'/showone]
> >> f/o'
> ** Script Error: f has no refinement called o'.
> ** Where: f/o'
> >> f
> one
> >>
>
> Can I be sure that, after the execution of 'f, o's instance o' has been
> un-loaded from working memory ?
> I'm concerned about REBOL's memory recycling and garbage management,
because
> I should have to call a procedure similar to f a thousand (!) time in one
> session.
> Would there be any problem, I could change my approach, but preferably not
> ;-[
>
> Regards,
>
> chr==
>
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.