Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Recycle Question

 [1/3] from: tim::johnsons-web::com at: 9-Nov-2001 8:05


Hi: I'm looking at documenation on recycle. Since the default is 'on, does any one know of reasons why someone would use 'recycle? Thanks -- Tim Johnson <[tim--johnsons-web--com]> http://www.johnsons-web.com

 [2/3] from: dockimbel:free at: 9-Nov-2001 20:23


Hi Tim, Here is how i think it works : A Garbage Collection is automatically done by Rebol whenever it judges that there're too much unreferenced values. You can force a garbage collection by calling 'recycle when you think that a GC would be usefull. 'recycle/off will switch off the automatic mode. No garbage collection will occur until you call 'recycle explicitly or get back to automatic mode with 'recycle/on. This mode can be usefull if you have a critical part in your code and want to be sure that you won't be interrupted by a GC. Personnaly, i've not yet faced such case. :) You can see some GC stats in system/stats/recycle. (use %mem-stats.r from the library to interpret those values or %mem-watch.r from my REB-site) HTH, -DocKimbel Tim Johnson wrote:

 [3/3] from: tim:johnsons-web at: 9-Nov-2001 11:19


On Fri, Nov 09, 2001 at 08:23:15PM +0100, Nenad Rakocevic wrote:
> Hi Tim, > Here is how i think it works :
<<quoted lines omitted: 11>>
> HTH, > -DocKimbel
Thank you DocKimbel! -- Tim Johnson <[tim--johnsons-web--com]> http://www.johnsons-web.com

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted