[REBOL] Re: Deleting / Unsetting Hierachical Objects / Faces
From: nitsch-lists:netcologne at: 19-Dec-2001 18:45
RE: [REBOL] Deleting / Unsetting Hierachical Objects / Faces
---releasing objects:
Usually dont reference it and let gc do the work.
but functions hold the arguments of their last call in current rebol.
its freed when they are called again.
with few large objects this is wastefull.
clearing the tops levels of such a object/block might help.
also there is 'load-image, which keeps a cache with all
loaded images and looks there first.
i expect rebol uses it internal.
it has an option /clear to clear it.
---for referencing:
why don't you use objects of objects?
even if thats one-field objects like
make object![value: something]
this style is used in /view everywhere
(like writing face/text the long way.. instead of hacking to use the 'text somehow).
-volker
[james--mustard--co--nz] wrote: