[REBOL] Re: A collection of garbage
From: Christophe:Coussement:mil:be at: 16-Jul-2003 12:46
[Carl said:]
The file memory will not be released until the local variable
is set to a different value (by a second call to foo, which
will then hold the file memory until the next call, etc.)
To change that, unreference the file series when done:
foo: has [file] [
file: read %large-file.txt
print length? file
file: none
]
Should this reach the same effect or better ? any clue ?
foo: has [file] [
file: read %large-file.txt
print length? file
unset 'file
]
==xtof